上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页
摘要: js:$(function(){ $("ul.sub").parent().append(""); $("ul.sub ul").parent().append(""); $('#nav ul').closest('li').hover(function(){ $(this).find("span... 阅读全文
posted @ 2014-09-19 13:54 唸随爱 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 运行当页面的时候,执行到js会判断来自于移动端还是pc端,如果是移动端则跳转制定链接地址,,这样在手机端会有额外的不必要浪费的加载时间,,,var browser={ versions:function(){ var u = navigator.userA... 阅读全文
posted @ 2014-09-19 13:49 唸随爱 阅读(359) 评论(0) 推荐(0) 编辑
摘要: $("#addfav").click(function() { var ua = navigator.userAgent.toLowerCase(), url =location.href, sitename =document.title; if(ua.indexOf("msi... 阅读全文
posted @ 2014-09-15 19:00 唸随爱 阅读(324) 评论(0) 推荐(0) 编辑
摘要: js: html: mming无缝滚动演示001 mming无缝滚动演示002 ... 阅读全文
posted @ 2014-09-11 17:35 唸随爱 阅读(177) 评论(0) 推荐(0) 编辑
摘要: -webkit-appearance : none ; /*解决iphone safari上的圆角问题*/ 阅读全文
posted @ 2014-09-10 18:11 唸随爱 阅读(143) 评论(0) 推荐(0) 编辑
摘要: function orientation_change() { var viewport = document.querySelector('meta[name="viewport"]'); if (window.orientation == 0 || window.orientation ==... 阅读全文
posted @ 2014-09-05 14:29 唸随爱 阅读(310) 评论(0) 推荐(0) 编辑
摘要: Git的一些基本概念设置自己的用户名和邮箱gitconfig –global user.name "Your Name"gitconfig –global user.email "you@example.com"修改到提交之间有一个缓存区提交到缓存区gitadd .当前所有修改提交到缓存区,也可以单... 阅读全文
posted @ 2014-09-02 16:11 唸随爱 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-08-29 13:58 唸随爱 阅读(126) 评论(0) 推荐(0) 编辑
摘要: animation默认以ease方式过渡,它会在每个关键帧之间插入补间动画,所以动画效果是连贯性的。除了ease,linear、cubic-bezier之类的过渡函数都会为其插入补间。但有些效果不需要补间,只需要关键帧之间的跳跃,这时应该使用steps过渡方式。 比如GIF动图不支持程序对播放的控... 阅读全文
posted @ 2014-08-29 13:55 唸随爱 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-08-28 14:25 唸随爱 阅读(472) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页