摘要: //跨浏览器获取元素样式 function getStyle(obj,name){ if(obj.currentStyle){ //IE return obj.currentStyle[name]; }else{ //W3C return getComputedStyle(obj,false)[na 阅读全文
posted @ 2016-12-20 21:47 凌雨涵 阅读(91) 评论(0) 推荐(0)