A global switch/method to turn tooltips on/off, or a method on the
jQuery object you used to apply the tooltip?
Either this: $.Tooltip.on(); $.Tooltip.off();
This would be better for me as I then don't have to track all the
tips. I simply need a way to turn on/off all tips.
Ok, I'll add that.
Excellent, thanks.
What I'd really like to do is maintain an array of tips, and
selectors, and then iterate through that calling Tooltip. I can do
that with the syntax above.
No, that won't work. The bodyHandler is supposed to be a callback
function that is called whenever a tooltip is to be displayed. On the
other hand, it would be easy to check if it is a string and use that as
the body.
Is there another parameter that parses out the title and the body based
on a ":" delimiter? I thought I read a post regarding that (of course,
now I can't find the post).
So what I'm looking for, basically, is a way to pass the tooltip text in
via a parameter, rather than from the 'title'. This will let me maintain
all tooltip text in a single place -- an array of tips/selectors.
~ ~ Dave
- [jQuery] Re: Disabling Tooltips + Tooltip Text DaveG
-