08 2014 档案

摘要: 阅读全文
posted @ 2014-08-26 16:46 Western Journey 阅读(769) 评论(0) 推荐(0) 编辑
摘要:var obj = document.getElementById('setbg');var smooth = new ImageSmooth(obj);//smooth.fuzzy();/*背景模糊*/ function ImageSmooth(obj){ var elem,oldClass... 阅读全文
posted @ 2014-08-19 11:39 Western Journey 阅读(162) 评论(0) 推荐(0) 编辑
摘要:一、设备像素比(window.devicePixelRatio) 设备像素比= 设备上物理像素/设备独立像素(dips 布局视区的宽度) 非视网膜屏幕的iphone上,屏幕物理像素320像素,独立像素(视区宽度)也是320像素,因此,window.devicePixelRatio等于1.(chrom... 阅读全文
posted @ 2014-08-18 11:53 Western Journey 阅读(487) 评论(0) 推荐(0) 编辑
摘要:JS Bin //每个浏览器会报不同的错误(由错误的标签嵌套引起,需要把tbody放在table里)+| IE 6,7,8 | 意外地调用了方法或属性访问。 ... 阅读全文
posted @ 2014-08-15 11:31 Western Journey 阅读(915) 评论(0) 推荐(0) 编辑
摘要:JS Bin //我们可以指定transition适用的属性,比如只适用于heighttransition:1s height;//源文地址:http://www.ruanyifeng.com/blog/2014/02/css_transition_and_animation.html 阅读全文
posted @ 2014-08-14 15:38 Western Journey 阅读(155) 评论(0) 推荐(0) 编辑
摘要:test1.js$(function(){})var flag=1;getOrder();//执行后flag会变成1 并输出1111function getOrder(){ flag=0; document.write('1111');}test2.js$(function(){})a... 阅读全文
posted @ 2014-08-08 15:20 Western Journey 阅读(127) 评论(0) 推荐(0) 编辑
摘要:.service{ /*position:relative;*/ height:96% !important;overflow: hidden;}.pright{ height:40px; text-align:right; margin-top:30px; padding-right:50px; ... 阅读全文
posted @ 2014-08-07 17:24 Western Journey 阅读(212) 评论(0) 推荐(0) 编辑
摘要:Document 首页热门应用游戏短信 //浮动元素不占据空间 阅读全文
posted @ 2014-08-06 17:27 Western Journey 阅读(218) 评论(0) 推荐(0) 编辑
摘要:Document 1 2 3 4 5 //在此时还少的一个jquery.中的stop(1,1)来... 阅读全文
posted @ 2014-08-06 15:32 Western Journey 阅读(307) 评论(0) 推荐(0) 编辑
摘要:Document源文地址:http://www.zhangxinxu.com/wordpress/?p=783 阅读全文
posted @ 2014-08-05 15:33 Western Journey 阅读(230) 评论(0) 推荐(0) 编辑
摘要:Document 我是固定 头部 主题内容 阅读全文
posted @ 2014-08-01 17:28 Western Journey 阅读(115) 评论(0) 推荐(0) 编辑
摘要:expression 和 JS计算模拟 在性能上的问题在于频率,expression在你任何位置任何时候微小的移动都会计算很多次,你可以测试下.... JS只针对在你的使用范围内,所以前端才不建议使用expressionCSS表达式(expression)。你不可以直接使用该表达式,因为它可能会因为... 阅读全文
posted @ 2014-08-01 15:39 Western Journey 阅读(182) 评论(0) 推荐(0) 编辑
摘要:/** * -------------------------------------------------------------------- * jQuery-Plugin "pngFix" * Version: 1.2, 09.03.2009 * by Andreas Eberhard, ... 阅读全文
posted @ 2014-08-01 11:55 Western Journey 阅读(450) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示