使用add()加入fragment时将触发onAttach(),使用attach()不会触发onAttach()使用replace()替换后会将之前的fragment的view从viewtree中删除触发顺序:detach()->onPause()->onStop()->onDestroyView(...
分类:
其他好文 时间:
2015-02-13 13:17:24
阅读次数:
172
(1) jQuery的Id选择器: $("#btnShow")(2) 事件绑定函数 bind() $("#btnAdd").bind("click", function(event) { $("#divMsg").show(); });(3) 显示和隐藏函数. show()和hide()(4) 修....
分类:
Web程序 时间:
2015-02-09 18:01:30
阅读次数:
146
hide和fadeOut显示效果有什么区别?show和fadeIn显示效果都一样?很多朋友在学习jQuery的时候会遇到这个问题,hide和fadeOut都可以带有参数:$(selector).hide(speed,callback);$(selector).fadeOut(speed,callba...
分类:
Web程序 时间:
2015-02-09 12:40:22
阅读次数:
226
元素选择器$(document).ready(function(){ $("button").click(function(){ $("h2").hide(); })})id选择器,class选择器,所有选择器,当前对象this,子类选择器 首个元素 超链接隐藏,按钮$("#click1").h.....
分类:
其他好文 时间:
2015-02-06 14:50:50
阅读次数:
214
ThefollowingcodeinthedefaultdocumentwillhidetheURLtowheretherequestisbeingredirected:html
titleWelcometoawonderfulsite/title
framesetcols="100%,*"border=0frameborder=0
border=0framespacing=0scrolling="no"
framesrc="http://source.domain.com"
name="AddressHi..
分类:
Web程序 时间:
2015-02-05 11:40:50
阅读次数:
138
ThefollowingcodeinthedefaultdocumentwillhidetheURLtowheretherequestisbeingredirected:html
titleWelcometoawonderfulsite/title
framesetcols="100%,*"border=0frameborder=0
border=0framespacing=0scrolling="no"
framesrc="http://source.domain.com"
name="AddressHi..
分类:
Web程序 时间:
2015-02-05 11:38:01
阅读次数:
110
ThefollowingcodeinthedefaultdocumentwillhidetheURLtowheretherequestisbeingredirected:<html>
<title>Welcometomysite</title>
<framesetcols="100%,*"border=0frameborder=0
border=0framespacing=0scrolling="yes">
<framesrc="http://sourc..
分类:
Web程序 时间:
2015-02-05 11:37:10
阅读次数:
152
I would not suggest Richies answer, because you are screwing up the data inside the database. You would not fix your problem but try to "hide" it and ...
分类:
数据库 时间:
2015-02-04 18:23:15
阅读次数:
169
以前做轮播图,都是宽度,高度有一个固定的大小; juqery代码如下: $(function(){ var n=0 function nup(){ if(n<2){n=n+1}else{n=0} $(".banner_width img").hide() $(".banner_width ...
分类:
Web程序 时间:
2015-02-04 14:27:20
阅读次数:
115
树上两点间距离转化为括号序列~
用线段树维护~...
分类:
其他好文 时间:
2015-02-04 09:31:32
阅读次数:
235