会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小猪~~
博客园
首页
新随笔
联系
订阅
管理
2015年11月17日
div漂浮
摘要: function scrollx(p) { var d = document, dd = d.documentElement, db = d.body, w = window, o = d.getElementById(p.id)...
阅读全文
posted @ 2015-11-17 09:49 小猪~~
阅读(178)
评论(0)
推荐(0)
2015年11月6日
返回0-9直接的随机数
摘要: var tags_a = $("#tags a");tags_a.each(function(){ var x = 9; var y = 0; var rand = parseInt(Math.random() * (x - y + 1) + y); $(this).addClass("ta...
阅读全文
posted @ 2015-11-06 11:08 小猪~~
阅读(420)
评论(0)
推荐(0)
+1点赞文字向上飘效果
摘要: $(function(){ $(".tip").on("click",function(e){ bonusPoints(e); }) }); //懒人建站 http://www.51xuediannao.com function bonusPoints(e){ var n=Math.round...
阅读全文
posted @ 2015-11-06 10:48 小猪~~
阅读(362)
评论(0)
推荐(0)
2015年10月22日
even
摘要: 5 sf s e.srcElement 当前点击的事件源,iee.target 火狐
阅读全文
posted @ 2015-10-22 11:06 小猪~~
阅读(151)
评论(0)
推荐(0)
2015年10月13日
浏览器地址
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2015-10-13 15:50 小猪~~
阅读(1)
评论(0)
推荐(0)
each 遍历
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2015-10-13 10:05 小猪~~
阅读(1)
评论(0)
推荐(0)
2015年10月12日
time选择时间插件
摘要: http://www.my97.net/dp/demo/resource/2.4.aspjs获取服务端时间,利用js读取文件头信息,虽然还是会有一点延时,但是已经很好了。function getSeverDateTime(){ var xhr = window.ActiveXObject ? new...
阅读全文
posted @ 2015-10-12 11:29 小猪~~
阅读(123)
评论(0)
推荐(0)
2015年10月9日
选中文本框里的文本
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2015-10-09 14:13 小猪~~
阅读(1)
评论(0)
推荐(0)
fixed背景固定 做滚动视觉差
摘要: background:url(qingz.jpg) center center no-repeat;background-attachment:fixed;
阅读全文
posted @ 2015-10-09 09:40 小猪~~
阅读(294)
评论(0)
推荐(0)
2015年10月8日
json
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2015-10-08 14:40 小猪~~
阅读(1)
评论(0)
推荐(0)
下一页
公告