jQuery代码:
setTips: function() {
$(".tooltip").parent().hover(function(){
TT.current = $(this);
TT.timer = setTimeout(function(){
TT.current.find(".tooltip").fadeIn('fast');
}, TT.delay);
}, function(){
clearTimeout(TT.timer);
$(this).find(".tooltip").fadeOut('fast');
在浏览器可以正常运行,但是移植到iPhone上之后,显示工具提示后它不能隐藏了。
有没有什么方法能让tap隐藏实现淡出效果?