Thanks for the answers !
Actually I tried: Element.getStyle().setProperty(blablabla) and it works
fine !
On Wed, Jun 3, 2009 at 6:37 PM, Adam T adam.t...@gmail.com wrote:
Try
DOM.setStyleAttribute(Element, backgroundColor, #ff)
(you also need to use camelCase for the style you are changing).
//Adam
On 3 Juni, 18:15, Ganaga ganael.jatt...@gmail.com wrote:
Hi,
Doing a Element.setAttribute(style, background-color: #ff)
works fine in Firefox but has no effect in IE.
Is there any work around for changing dynamically a style in IE ?
The post:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
provides a way to load a css file dynamically for IE, but how to
change just an attribute ?
Thanks !
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---