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 Swedberg
www.englishrules.com
www.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

Reply via email to