[Seaside] call a jQuery plugin

Lukas Renggli renggli at gmail.com
Sun Sep 13 14:52:30 UTC 2009


> Is there a guide to including jQuery plugins in Seaside or is call:
> the best way to go?  I have not found it through Google or the list
> archives, and imagine its context specific.

Not yet, probably soon in the book though ;-)

In your case I would add an extension method ...

    JQueryInstance>>#cyOverlabel
        self call: 'cyOverlabel'

... so you can write instead ...

   (html jQuery: 'body') cyOverlabel

Cheers,
Lukas

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


More information about the seaside mailing list