会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
以为是帅哥
导航
博客园
首页
新随笔
联系
订阅
管理
公告
上一页
1
···
4
5
6
7
8
9
10
11
12
···
18
下一页
2014年11月4日
模板 key+1
摘要: {eval $key=$key+1}
阅读全文
posted @ 2014-11-04 11:29 以为是帅哥
阅读(120)
评论(0)
推荐(0)
编辑
2014年10月27日
lazyload 分页加载
摘要: http://www.neoease.com/lazy-load-jquery-plugin-delay-load-image/echo $d['pic']; ?>" src="/images/img_220.jpg"
阅读全文
posted @ 2014-10-27 17:56 以为是帅哥
阅读(348)
评论(0)
推荐(0)
编辑
缓慢显示隐藏
摘要: $('.fanye').children('a').animate({ opacity: "show" }, "slow");
阅读全文
posted @ 2014-10-27 13:53 以为是帅哥
阅读(237)
评论(0)
推荐(0)
编辑
js计算日期的前几天的日期
摘要: 月份0---11var date = new Date(year,fenye_arr[0]-1,fenye_arr[1]); miao=date.getTime();var _year=new Date(miao-j*24*3600*1000).getFullYear(); var _yue=new...
阅读全文
posted @ 2014-10-27 11:35 以为是帅哥
阅读(663)
评论(0)
推荐(0)
编辑
2014年10月22日
判断子元素(or属性)是否存在
摘要: if(typeof($("#aid").attr("rel"))=="undefined") 即可
阅读全文
posted @ 2014-10-22 12:12 以为是帅哥
阅读(127)
评论(0)
推荐(0)
编辑
动态加载的数据,hover效果
摘要: $('.option li').live('mouseenter',function(){ $(this).addClass("active"); }).live('mouseleave',function(){ $(this).removeClass("active"); });
阅读全文
posted @ 2014-10-22 11:29 以为是帅哥
阅读(599)
评论(0)
推荐(0)
编辑
2014年10月21日
浮动
摘要:
阅读全文
posted @ 2014-10-21 10:21 以为是帅哥
阅读(153)
评论(0)
推荐(0)
编辑
2014年10月11日
按月匹配天数
摘要: if(monthValue==1||monthValue==3||monthValue==5||monthValue==7||monthValue==8||monthValue==10||monthValue==12) { dayvalue = 31 }else if(monthValue==4||...
阅读全文
posted @ 2014-10-11 18:06 以为是帅哥
阅读(163)
评论(0)
推荐(0)
编辑
2014年9月24日
checkbox 赋值给js 变量
摘要: var banuid =[];//定义一个数组 $('input[name="banuid[]"]:checked').each(function(){//遍历每一个名字为interest的复选框,其中选中的执行函数 banuid.push($(this).val());//将选中的值添加到数组ch...
阅读全文
posted @ 2014-09-24 10:56 以为是帅哥
阅读(1012)
评论(0)
推荐(0)
编辑
2014年9月23日
Jquery操作复选框(CheckBox)的取值赋值实现代码
摘要: 赋值复选框CheckBox遍历取值1. 获取单个checkbox选中项(三种写法):$("input:checkbox:checked").val()或者$("input:[type='checkbox']:checked").val();或者$("input:[name='ck']:checked...
阅读全文
posted @ 2014-09-23 15:57 以为是帅哥
阅读(394)
评论(0)
推荐(0)
编辑
上一页
1
···
4
5
6
7
8
9
10
11
12
···
18
下一页