0 Replies Latest reply on Apr 24, 2009 7:17 AM by Jan Andersson

    2 rich:effects after each other

    Jan Andersson Newbie

      Hi,

      I want a panel to fade in when the page it's on loads (ie not visible initially). Then fade out after a x seconds delay. Or alternatively, visible from start, a highlight effect directly after page has loaded, delay x seconds and then a fade out.

      The delay and fading out part works ok on its own like this:

      <rich:effect for="window" event="onload" type="Fold"
       params="targetId:'contentDiv',delay:6.0,duration:1.0" />


      contentDiv is a div surrounding the panel. However if I add another effect before this it does not run.

      But how do I get two effects to run after each other on the same object?

      have a good weekend!