> Yeah, JavaScript rocks! Still learning...
Yep. Just after writing the answer to your proposal, I modified it to this:
options = $.extend({
[...]
event: "mouseover",
[...]
}, options || {});
[...]
.bind(options.event, bind); // bind is the callback to handle the mouseover or
click or whatever event
Now you could basically bind the tooltip showing to whatever event you can
think of. Dunno what else then mouseover and click make any sense...
--
Jörn Zaefferer
http://bassistance.de
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/