Project

General

Profile

Animation issue

Added by Thim Anneessens about 13 years ago

Hello I tried the new animations features of JWt (3.1.11) and had no problem using SlideFromTop.

However I cannot make this code work with fade:

     public Application(WEnvironment env)
    {
        super(env);

        WContainerWidget animTest=new WContainerWidget(getRoot());
        animTest.addWidget(new WImage("http://www.webtoolkit.eu/css/jwt/wt_banner.jpg"));
        animTest.setHidden(false, new WAnimation(WAnimation.AnimationEffect.Fade, WAnimation.TimingFunction.Linear,5000));
        animTest.show();
    }

Can anyone tell me how to fix this? Tanks.

Thim.


Replies (1)

RE: Animation issue - Added by Koen Deforche about 13 years ago

Hey Thim,

This is a bug in the animation JavaScript support. I've fixed this in my copy, and this will be in git soon (in the next weeks).

Regards,

koen

    (1-1/1)