qTip - 如何在鼠标悬停后保持其可见性?
问题描述:
我使用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"); });