function getStyle(obj,name){
return (obj.currentStyle||getComputedStyle(obj,false))[name]
}
currentStyle IE
getComputedStyle 火狐 谷歌
function getStyle(obj,name){
return (obj.currentStyle||getComputedStyle(obj,false))[name]
}
currentStyle IE
getComputedStyle 火狐 谷歌