23
Jan
2006

Tooltips for script.aculo.us

There already had been a Tooltips implementation but i wasn't to happy with that one, not only because they didn't support simple mouse-hover tooltips - actually they do.

But writting this lib was also a good way to get into script.aculo.us and prototype.js. (and i can't say how impressed i am)

So here it is:
An all new Tooltips.js
http://static.twoday.net/matsblog/stuff/Tooltip/Tooltip.Demo.html

Source available via:
http://static.twoday.net/matsblog/stuff/Tooltip

Currently the script has version 0.3 and depends on some changes in script.aculo.us and prototype. My goal is to get a version 1.0 released, that is compatible with the next scriptaculous realease. In the meantime i would be happy about any feedback and/or testing.

Please dig into the code to learn, what the various actions do.

The basic structure is:
* Tooltip Class
(representing a single trigger-popUp pair,
handles setup/show/hide)
* TooltipFactory Class
(provides a framework for finding and initializing tooltips
in a site by finding them via style selector)
* Tooltips, ActionHints, SectionTriggers
which are implementations of TooltipFactory
-> This is the most interesting part, if you want to use tooltips
or want to implement your own flavor of tooltips.
logo

Mat's Blog

California Dreaming

Users Status

You are not logged in.

Search

 

Weather

Aktuelles Wetter in Kitzbuhel:


Temperatur: -5 C
UV Index: 0
Luftfeuchte: 83 %
Sichtweite: 10.0 km
Luftdruck: 1014.9 mb
Windstärke: calm 

Weather data provided by weather.com

Get Firefox

Get Firefox!

Currently Reading


William Gibson, Jarreth Merz, Matthias Scherwenikas
Neuromancer, 3 Audio-CDs

Archive

January 2006
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 1 
 4 
 5 
 6 
 7 
 8 
10
11
14
15
16
17
18
20
21
22
25
26
27
28
29
31
 
 
 
 
 

Recent Updates

but yammer accepts
no Austrian mobile numbers :(
cqeb - 15. Dec, 23:45
das verpasse ich leider......
das verpasse ich leider... http://twitter.com/flog/st atus/998712029
flog - 10. Nov, 21:38
bin schon sehr gespannt!...
bin schon sehr gespannt! bis dann
barbarao - 10. Nov, 15:59
hab mich auch gerade...
hab mich auch gerade angemeldet ;)
barbarao - 26. Aug, 10:57
minute 33 is auch sehr...
minute 33 is auch sehr interessant.
MasterOfDesaster - 7. Jul, 16:00
ja der Vortrag ist sehr...
ja der Vortrag ist sehr nett und zum testen kann man...
niepi - 4. Jul, 13:14
BTW: TrimJunction isn't...
BTW: TrimJunction isn't the Rhino port of Rails which...
robert42 - 27. Jun, 16:59
danke :)
danke :)
matthias - 5. Jun, 08:41

Status

Online for 1545 days
Last update: 15. Dec, 23:45

Credits

Knallgrau New Media Solutions - Web Agentur für neue Medien

powered by Antville powered by Helma


Creative Commons License

xml version of this page

twoday.net AGB