[Seaside] Scriptaculous events

Florian Minjat florian.minjat at emn.fr
Sat Jan 6 00:53:08 UTC 2007

Thanks Ramon !
   This is exactly what I wanted :).
   I had no id how to get an element from its id, so I tried to use 
Scriptaculous instead. This will speed up my website a little.
   Lukas I'm sorry I don't understand all you wrote on the fact 
browser don't allow to create my own events. But I learned from what 
you said that I can do multiple callback from one html updater. 
Currently I use the onComplete event, and I think it will be smaller 
and quicker without it. Thanks !


Ramon Leon wrote:
> Florian Minjat wrote:
>> Hi,
>>   I would like to make a div show/hide by clicking on a link but 
>> entirely client-side (without communication with the image). I already 
>> know how to make it via scriptaculous updater but it can take a few 
>> seconds and I want to make it quicker. I tought of testing the events of 
> html div
>     id: #MyDiv;
>     with: 'Some Stuff'.
> html anchor
>     onClick: (html element id: #MyDiv; toggle;)
>     with:'Show/Hide'.
> Involves no call backs to the server, uses Prototype's Element rather 
> than Scriptaculous Updater, is this what you wanted?

More information about the Seaside mailing list