[Seaside] Using Insertions and Script Aculo

Lukas Renggli renggli at gmail.com
Mon Sep 24 18:57:12 UTC 2007


> Lukas what do you think about it:

That library looks cool and easy to integrate with Seaside and Scriptaculous.

> How can i execute JS code, that will add tooltip from this library to
> element. And then remove it? How do it from seaside SU?

I would follow the implementation of SUEffect:

1. Create a sibling to SUEffect called SUTip.

2. Override #defaultPrototype.

3. Implement helper methods as you find them in the documentation.

4. Import the JavaScript code into a WAFileLibrary.

5. Commit your changes to SqueakSource so that others can use your
library as well.

Cheers,
Lukas

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


More information about the seaside mailing list