2016年11月14日
摘要: 1 //获取对象样式属性值 2 function getStyle(obj,attr){ 3 if(obj.currentStyle){ 4 return obj.currentStyle[attr];//针对IE浏览器 5 } 6 else{ 7 return getComputedSt... 阅读全文
posted @ 2016-11-14 17:19 叶猫 阅读(230) 评论(0) 推荐(0)