Jquery UI tooltip. Set timeout and set hover events. Freeze tooltip on mouseover

前端 未结 7 1328
遥遥无期
遥遥无期 2020-12-09 11:51

I\'ve googled about 2 days and can\'t figure out how to set timeout for http://api.jqueryui.com/tooltip/ ???

Maybe i should use jquery hoverIntent ?

here is

7条回答
  •  半阙折子戏
    2020-12-09 12:20

    I like this for setting the timeout:

     $(document).tooltip({
         open: function(event, ui) {
             ui.tooltip.delay(5000).fadeTo(2000, 0);
         }
     });
    

提交回复
热议问题