[Seaside] Prototype delay function supported?

Lukas Renggli renggli at gmail.com
Sun Jan 3 20:08:09 UTC 2010


Not directly, but you can use the timeout functionality of JavaScript, e.g.

html scriptaculous effect
    id: 'notifications';
    duration: 2.0;
    fade;
    timeout: 3 seconds

Lukas

2010/1/3 Bart Gauquie <bart.gauquie at gmail.com>:
> Dear all,
>
> is the Prototype delay function supported in Seaside?
> (http://www.prototypejs.org/api/function/delay)
> I want for instance do the following: create a fast fade on an element, then
> delay for 3 seconds and then fade out the element again.
> fading in and out by:
> (html scriptaculous effect
>     id: 'notifications';
>     duration: 0.5;
>     appear),
> (html scriptaculous effect
>     id: 'notifications';
>     duration: 2.0;
>     fade)
>
> I want the fade to happen only after for instance 3 seconds. Is there a way
> to do this?
> I'm using Seaside 3.0.
>
> Thanks for any advice,
> Kind Regards,
> Bart
> --
> imagination is more important than knowledge - Albert Einstein
> Logic will get you from A to B. Imagination will take you everywhere -
> Albert Einstein
> Learn from yesterday, live for today, hope for tomorrow. The important thing
> is not to stop questioning. - Albert Einstein
> The true sign of intelligence is not knowledge but imagination. - Albert
> Einstein
> However beautiful the strategy, you should occasionally look at the results.
> - Sir Winston Churchill
> It's not enough that we do our best; sometimes we have to do what's
> required. - Sir Winston Churchill
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list