with a simple style sheet:
.box { opacity: .30; width: 300px; }
and an object
hi
You cannot run JS to get the following answers as I would expect:
alert(b.style.width);
and
alert(b.style.opacity)
or moreover
alert(b.style.MozOpacity)
If they are not in the style property, then where can I get this information. I know I can get the width, that one is updated into the .clientWidth property on the object. But nothing in the "style" object gets updated. This seems strange. Opacity is really what I am after here and I know it's different betwee browsers
(firefox specific code)
------------------------------------------------
test program source:
hi
2006-06-09
06:25:35
·
4 answers
·
asked by
bladnman
1