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.
blog comments powered by Disqus
logo

Mat's Blog

California Dreaming

Users Status

You are not logged in.

Search

 

Weather

Aktuelles Wetter in Kitzbuhel:


Temperatur: -1 C
UV Index: N/A
Luftfeuchte: 91 %
Sichtweite: 2.6 km
Luftdruck: 1013.9 mb
Windstärke: 3 km/h

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

und wie sieht es mit...
und wie sieht es mit deiner privaten Hochzeit aus? ;-) wünsche...
flog - 23. Oct, 20:49
Danke!
Danke Matthias für deinen Beitrag zu diesem Schritt....
Sierra - 22. Oct, 12:44
Ja, das Offline Problem...
Ja, das Offline Problem ist auch mein Hauptproblem....
matthias - 23. Sep, 14:36
ich verwende am Mac ausschließlich...
ich verwende am Mac ausschließlich die Browser...
smeidu - 23. Sep, 14:22
Stimmt -
Den Eindruck kann ich nur bestätigen; in der Bedienung...
N_Haase - 29. Jul, 13:24
Dach
und da oben am Dach, da sollte doch seit Jahren eine...
Sierra - 12. Jun, 10:47
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

Status

Online for 1975 days
Last update: 3. Mar, 15:52

Credits

vi knallgrau GmbH

powered by Antville powered by Helma


Creative Commons License

xml version of this page

twoday.net AGB