专题文章
时长:00:00更新时间:2020-11-27 20:34:16
通用于ie和firefox的函数GetCurrentStyle(obj,prop)_javascript技巧:function GetCurrentStyle (obj, prop) { if (obj.currentStyle) { return obj.currentStyle[prop]; } else if (window.getComputedStyle) { prop = prop.replace (/([A-Z])/g, -$1); prop = prop.toLowerCase (); return window.getComputedStyle (obj,
查看详情