我用谷歌搜索了大约2天,无法弄清楚如何设置超时http://api.jqueryui.com/tooltip/ ???
也许我应该使用jquery hoverIntent?
这是我的代码
$('*[class*="help_"]').tooltip({
open: function(e,o){
$(o.tooltip).mouseover(function(e){
$('*[class*="help_"]').tooltip('open');
});
$(o.tooltip).mouseout(function(e){
});
},
close: function(e,o) {}
});
Run Code Online (Sandbox Code Playgroud)