I've got background images defined in css and applied on gwt widgets using addstylename(). Wondering whether addStyleName can be used with gwtquery to animate/transition background images.
E.g.
//css
.bg1
{
background-image: ....
}
.bg2
{
background-image: ...
}
//gwt
FlowPanel f = new FlowPanel();
f.addStyleName("bg1") // applies first background
f.removeStyleName("bg1");
f.addStyleName("bg2") //applies second background
Essentially I'd like to have some sort of fade out-fade in effect when transitioning the background images on the panel.
Thanks,