Wonderful, Marv! Thanks for that note. I'm glad it's working for you.
My next step, before I start on a complete rewrite, is to update the
documentation with the added/improved features.
Cheers,
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 24, 2009, at 7:28 AM, Marv wrote:
Karl,
I evaluated ten (10) different tooltip plugins for jQuery and selected
Cluetip based on features, functionality, and ease-of-use. So far, it
has met my expectations wonderfully! Thank you for your efforts. For
the past 2 days I have been struggling with the Cluetip API trying to
programmatically close a displayed Cluetip and could not find a
reliable way to do this.
You solved ALL my problems with this one simple method.
Thanks again.
On Apr 23, 10:59 pm, Karl Swedberg <k...@englishrules.com> wrote:
thanks a lot for your patience with me as I make improvements to the
plugin. I really appreciate your questions and suggestions. The truth
is, this plugin is the very first one that I wrote, and I started
working on it just a couple months after I started learning
JavaScript, so if I had to do it all over again, I'd write it a lot
differently now. Nevertheless, I'm glad it's holding up as well as it
is, even with all of the duct tape I've applied to it over the years.
I used to give people a hack for hiding the tooltip if they wanted to
do it manually, but tonight I realized it would be dead simple to add
an artificial event binding that would hide the tooltip when
triggered. Now, if you grab the very latest (updated a couple minutes
ago) from Github, you should be able to write $
(document).trigger('hideCluetip'); and it will be hidden.
https://github.com/kswedberg/jquery-cluetip/tree/master
Cheers,
--Karl
____________
Karl Swedbergwww.englishrules.comwww.learningjquery.com
On Apr 23, 2009, at 9:35 PM, DotnetShadow wrote:
Hi there,
I've been using the most recent version of cluetip 0.9.9.c and I
have
overridden error function in the cluetip, but I was wondering how I
can hide the actual cluetip? I tried $(this).isActive = false but
this
didn't work.
error: function(xhr, textStatus) {
/// HIDE THE TOOLTIP?
}
Basically I got a check in the error function that checks whether to
show the error or redirect to the login page in case I have forms
authentication. So how can I hide the tooltip?
Regards DotnetShadow