摘要: JS获取CSS属性 JS獲取CSS屬性方法: function getDefaultStyle(obj,attribute){ return obj.currentStyle?obj.currentStyle[attribute] : document.defaultView.getComputedStyle(obj,false)[attribute]; } 阅读全文
posted @ 2012-09-30 12:31 傲雪星枫 阅读(341) 评论(0) 推荐(0) 编辑