IE下获得透明度值的一个问题
var obj = document.getElementById('id'); obj.style.filter; obj.filter;
样式为:
id#{
filter:alpha(opacity=10);
}
css非内联样式时,打印:
""
undefined
css为内联样式时,打印:
"alpha(opacity=10)"
undefined
如果要获得透明度信息怎么办呢,只有obj.currentStyle['filter']
相关推荐
魄竹 2019-10-17
懵懂听风雨 2010-07-08
libowen0 2019-06-30
gigipop 2014-09-30
yyNet0 2013-07-30
尚衍亮 2013-07-19
81224450 2012-12-14
nicepainkiller 2012-11-20
淡风wisdon大大 2011-11-15
淡风wisdon大大 2011-10-26
k韶华 2017-03-24
zrj0 2015-05-25
林一天 2010-08-19
CSSEIKOCS 2008-09-07