I am fading an image out.I want to show it again after it has faded
out I have tried setting a style with opacity:1.0
and calling addStyleName on the image in the complete handler but it
does not show the image.

theFade.setEffectElement(image.getElement());
                theFade.play();
                theFade.addEffectCompletedHandler(new EffectCompletedHandler(){

                        @Override
                        public void onEffectCompleted(EffectCompletedEvent 
event) {
                                image.addStyleName("resetOpacity");
                        }

                });

And here is the styleSheet

.resetOpacity{
                opacity: 1.0;
                visibility: visible;

                }

Is the image removed from the DOM when you do  a fade or something?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to