setOpacity has no effect in IE8

28 views
Skip to first unread message

drewB

unread,
Dec 31, 2009, 6:15:58 PM12/31/09
to Prototype & script.aculo.us
I have a site that is working well in FF3 and IE7 but when I test it
in IE8 all calls to setOpacity don't have any impact. If I set the
browser to IE7 compatibility mode it works fine.

Has another else every experienced this problem? Did you find a
solution?

Paul Kim

unread,
Dec 31, 2009, 7:00:19 PM12/31/09
to prototype-s...@googlegroups.com
I do not experience your problem of having Element.setOpacity not working in IE8 w/o compatibility mode. Here is a pastie that demonstrates Element.setOpacity working in IE8: http://pastie.org/762888. If you view this in IE8 w/o compatibility mode, you will notice that the setOpacity makes the black background of the div#myelement opaque. I got this example from the Prototype API: http://www.prototypejs.org/api/element/setOpacity. I think that your problem lies in your code,not Prototype Javascript library.



--

You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group.
To post to this group, send email to prototype-s...@googlegroups.com.
To unsubscribe from this group, send email to prototype-scripta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.



shellster

unread,
Jan 6, 2010, 1:15:50 PM1/6/10
to Prototype & script.aculo.us
I just used setOpacity today for a Strict IE8 page and it seemed to
work.

> > prototype-scripta...@googlegroups.com<prototype-scriptaculou­s%2Bunsu...@googlegroups.com>


> > .
> > For more options, visit this group at

> >http://groups.google.com/group/prototype-scriptaculous?hl=en.- Hide quoted text -
>
> - Show quoted text -

Reply all
Reply to author
Forward
0 new messages