摘要: jQ中动画animate的队列实现决定模仿一个:function Queue(){ this.a = []; this.t = null;}Queue.prototype = { queue:function(s){ var self = this; this.a.push(s); this.hold(); return this; }, hold:function(){ var self = this; clearTimeout(this.t); this.t = setTimeout(function(){ console.log("队列开始 start! ",self 阅读全文
posted @ 2011-11-26 21:00 tangoboy 阅读(446) 评论(0) 推荐(1) 编辑
摘要: 1.【IE6对png图片支持】background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='bottom-fade.png',sizingMethod='scale');注:不能使用于背景有定位属性的标记2.【去除超链接外围虚线轮廓】[a]IE下:<a href="#" onfocus="this.blur();"...>FF下: a{outline:none;}注:当FF用使用了文字缩进(text-indent:- 阅读全文
posted @ 2011-11-26 18:03 tangoboy 阅读(258) 评论(0) 推荐(0) 编辑