2015年5月18日
摘要: function getStyle(obj,attr){ if(obj.currentStyle){ return obj.currentStyle[attr] } else{ return getComputedStyle(obj,false)[attr] }}注:obj.currentSty... 阅读全文
posted @ 2015-05-18 15:40 IT-工人 阅读(107) 评论(0) 推荐(0)