Hi, I'm using the Flowplayer.org Tooltips and I'd like it to disappear after 4 seconds.
Here's the code for it, can anyone help?
$("#search").tooltip({ offset: [45, 170], effect: 'slide' });
Thanks :)
Hi, I'm using the Flowplayer.org Tooltips and I'd like it to disappear after 4 seconds.
Here's the code for it, can anyone help?
$("#search").tooltip({ offset: [45, 170], effect: 'slide' });
Thanks :)
Edit. Borrowed this from another Stack overflow question. It works here: http://jsfiddle.net/mmRu2/
jQuery.fn.delay = function(time,func){
return this.each(function(){
setTimeout(func,time);
});
};
$('#search').delay(2000, function(){
$('#search').fadeOut('fast');
}
);
After that code put
setTimeout(function(){$(".tooltip").fadeOut("slow");}, 4000);
try the following callback... hope it will work... but i will fade to opacity 0.8... u can change the rest...
onShow: function() {
this.getTrigger().fadeTo("slow", 0.8);
}