Cluetip : this is how to handle a good mouseout on link
Users of Cluetip, we are many to look after a way to
1- show Cluetip when a link is hovered, then discard it when mouse goes out
2- BUT keep cluetip opened if the mouse did go inside the cluetip, so that we can click on links inside the cluetip
This is how to do it.
Just add this parameter :
- sticky: true,
onShow: function(){
$('.mylink').mouseout(function() { // if I go out of the link, then...
var closing = setTimeout(" $(document).trigger('hideCluetip')",400); // close the tip after 400ms
$("#cluetip").mouseover(function() { clearTimeout(closing); } ); // unless I got inside the cluetip
});
}
This is it !