[Seaside] jQuery <'onLoad:'> event

Lukas Renggli renggli at gmail.com
Wed Jun 17 06:22:50 UTC 2009


> What I am trying to do is iterate through a survey's questions, but use
> jQuery effects to transition between the questions. As far as I know, you
> can't reload the component (as in transitioning to the next question) or
> jQuery essentially becomes useless. What I ended up doing is stacking all
> the questions as hidden divs on the page and going through them like a deck
> of cards.

Although you can use the mechanism of jQuery to add load scripts, it
is often easier to use the Seaside infrastructure.

html div
    script: html jQuery this hide;
    with: 'This is hidden on load'

Lukas

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


More information about the seaside mailing list