Hi bobsov,

I don't think it's trivial. At least, it isn't obvious.

Here is how I would do it:

$('whatever').cluetip({
    onShow: function() {
      $('yourbutton').click(function() {
        $('#cluetip-close').triggerHandler('click');
      });
    },
    sticky: true
});

Glad you like the plugin. :)



--Karl

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




On Dec 7, 2008, at 1:12 PM, bobsov wrote:


I am using a div content present in the same document to show up in
cluetip. I want to use a custom button inside that div content to
close the tip when clicked. I don't know how this can be achieved.
Please guide me through this. This may be very trivial, I am not sure
how to get this done.

By the way, Cluetip rocks.

Many thanks.

Reply via email to