[Seaside] Scriptaculous events
Yann Monclair
yann at monclair.info
Thu Jan 4 14:13:29 UTC 2007
Hi Florian,
For my icalendar project I did something like that. A small calendar
that shows up with you click on a date. It's available at http://
www.squeaksource.com/iCalSummerTalk.html . The class is called
ICWebMiniCalendar. Feel free to look at the code and even reuse it :)
HTH,
Yann
On Jan 4, 2007, at 3:06 PM, 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 Scriptaculous but could find any example
> besides this code in SUObjectTest>>testEventActions :
> SUEvent new event: 'foo'; on: 'click' do: SUElement new toggle.
> I tried use it with the script: message but no effect :
> html div script: (SUEvent new event: 'foo'; on: 'click' do:
> SUElement new toggle); with: 'test'.
>
> Does anybody know how to do that or the location of some
> documentation/examples ?
>
> Florian
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the Seaside
mailing list