2012-02-06 82 views
0

我使用qTip插件,如果我将光标移动到工具提示上,它将隐藏。为什么?qTip - 如何在鼠标悬停后保持其可见性?

$('.b-short-desc-div') 
        .hover(function() { 
          if ($(this).data("qtip")) $(this).qtip("destroy"); 

          $(this) 
          .qtip({ 
           content: qTipContent, 
           position: { adjust: { x: -160, y: -15 } }, 
           show: { 
            when: false, 
            ready: true 
           }, 
           hide: false, 
           style: { 
            border: { 
             width: 5, 
             radius: 10 
            }, 
            padding: 10, 
            textAlign: 'center', 
            tip: true, 
            name: 'cream' 
           } 
          }); 
        }, function() { $(this).qtip("destroy"); }); 

回答

0

,你应该在你的hide标签使用fixed: trueas shown here

相关问题