[Seaside] call a jQuery plugin

Paul DeBruicker pdebruic at gmail.com
Sun Sep 13 14:46:05 UTC 2009

Thanks Lukas,

it worked as I wanted when I did this:

	html document addLoadScript: ((html jQuery expression 'body') call:

at the top of the renderContentOn: method for the main hub component.
I'll try to figure out how to have it work in the jQuery dialogs.

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.

Thanks again


On Sat, Sep 12, 2009 at 5:01 PM, Lukas Renggli <renggli at gmail.com> wrote:
>> (html jQuery this)
>>        onLoad: ((html jQuery this) do: 'cyOverlabel();').
> As you can see in the comment of #do: this method it iterates over
> every matched DOM element (http://docs.jquery.com/Core/each#callback).
> As far as I understand you just want to call 'cyOverlabel' on the
> query. This is done like this:
>    html jQuery this call: 'cyOverlabel'
> Cheers,
> Lukas
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list