> From: "Jörn Zaefferer"
>
> I actually managed to release my first official and
> documented jQuery plugin, a Tooltip implementation. It
> doesn't use AJAX, nor extra markup, only title and href
> attributes and some styles. You can customize the delay after
> which it should be displayed, default is instant display when
> hovering something.
>
> More details and examples can be found here:
> http://bassistance.de/index.php/jquery-plugins/jquery-plugin-tooltip/
>
> Comments are welcome!
Very nice!
It doesn't behave the same as a standard tooltip, though. Tooltips don't
usually track the mouse - once a tooltip is displayed it doesn't move. It
would be nice to have that option. In fact, instead of the defaults being no
delay and mouse tracking, I'd suggest making the defaults follow the most
common tooltip behavior - a short delay and no mouse tracking.
Whatever you make the defaults, it would be more flexible to change the
delay argument to an args object with properties like delay and track and
whatever else comes up later. Then you could code like this:
$(foo).Tooltip({ delay:250, track:true });
-Mike
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/