摘要: { float:left; width:190px; padding-top: 0; white-space: nowrap; overflow: hidden; -o-t... 阅读全文
posted @ 2015-04-18 15:38 helloZou 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1 var text = document.getElementById('demo'); 2 var count = document.getElementById('count'); 3 var handle = func... 阅读全文
posted @ 2015-04-10 16:31 helloZou 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1 $util = { 2 /** 3 * 类型检测 4 */ 5 type : function(obj){ 6 var rep = /\[object\s+(\w+)\]/i; 7 var str = Object.... 阅读全文
posted @ 2015-04-10 14:46 helloZou 阅读(279) 评论(0) 推荐(0) 编辑
摘要: /* IE6,7不支持inline-block属性 可采用*display:inline;*zoom:1* IE6,7支持inline元素转换成inline-block,但不支持block元素转换成inline-block,* 所以非inline元素在IE6,7下要转换成inline-block,需... 阅读全文
posted @ 2015-04-10 14:38 helloZou 阅读(154) 评论(0) 推荐(0) 编辑