Hi Renaud,

good question about disabling cluetip. I have a solution in place on github at http://github.com/kswedberg/jquery-cluetip/tree/master

You can unbind all cluetip events by calling $ ('yourselector').cluetip('destroy');

A couple caveats:

- If you want to remove the actual cluetip div, you'll also have to do $('#cluetip').remove(); If I have the plugin remove this div automatically, then it wouldn't work for any other elements that might have called it. - If you're using the hoverIntent plugin with this, you'll need to use the modified copy that is in included with the clueTip plugin (just modified it today to namespace the events).

Hope that helps. Let me know if you have any questions.

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On May 24, 2009, at 4:23 PM, Lideln wrote:


Ok, I finally managed to find an answer for the second question, here
is the link :
http://james.padolsey.com/javascript/debug-jquery-events-with-listhandlers/

But I still need to remove all other plugins and data created,
including clueTip. I want the place clean ! :-)

Also, when calling .remove(), it says it does not remove the jquery
object or something. What does it imply if I really want to free all
the memory ?

Thanks a lot !


On 24 mai, 22:04, Lideln <lid...@gmail.com> wrote:
Hi all,

I have been wondering how one could disable the clueTip plugin applied
to some elements ?
I did not find the proper option in the API.

Why do I neet to do that ?
I am writing an application that contains windows. And the windows
contain a "close" button, with a tooltip on it. When closing the
window, I would like to release all the memory, all the events, and so
on.

By the way, is there a way to monitor all objects instanciated in
jQuery, and all the instanciated events too ?
It would be great to detect memory leaks.

Thank you all !

Renaud

Reply via email to