摘要:
可以使用iframe-resizer项目地址: http://davidjbradshaw.github.io/iframe-resizer/演示地址: http://davidjbradshaw.com/iframe-resizer/example/ 用法:1.父页面: 引入jQuery.js 和 阅读全文
摘要:
$doc.on('mousewheel DOMMouseScroll',function(){ $htmlBody.stop(true); $goTop.stop(true); }); 阅读全文
摘要:
功能很强大:灯箱, 画廊, 放大图片, 弹出Youtube GoogleMap, ajax读取popup等等文档:http://dimsemenov.com/plugins/magnific-popup/documentation.htmlExamples:http://dimsemenov.com 阅读全文
摘要:
jQuery SlidesJS - Can't restart animation after clicking on navigation or pagination 在线DEMO: http://jsbin.com/cujeqekate 阅读全文
摘要:
CSS3 @keyframes 用法:http://www.w3school.com.cn/cssref/pr_keyframes.asp 在线DEMO: http://jsbin.com/vaqicejapa 阅读全文
摘要:
两个js都可以用做手机的滑动框架iscroll.js功能更多flipsnap.js应该只能水平滑动. iscroll.js介绍http://iiunknown.gitbooks.io/iscroll-5-api-cn/content/versions.html flipsnap.js介绍http:/ 阅读全文
摘要:
IE8不支持substr()函数, 第一个参数为负数,比如:var index = id.substr(-1, 1);替代:var index = id.substr(id.length-1, 1); 阅读全文
摘要:
(!!!!以前的好用的, 现在不行了~) 做chrome扩展桌面通知, 可能不想让浏览器自动关闭某个重要的桌面通知.那就不要使用 chrome.notifications.create 可以用 Web Notifications用法: 参考:http://www.w3.org/TR/notifica 阅读全文
摘要:
http://10minutemail.com/ 往往想临时访问某个网站, 需要用邮箱注册时, 可以试试这个网站提供的功能, 非常好用. 阅读全文
摘要:
http://stackoverflow.com/questions/57652/how-do-i-get-javascript-to-open-a-popup-window-on-the-current-monitor 居中显示: 阅读全文