我正在使用qtip对于 jQuery 工具提示,这非常好。
但是,我无法弄清楚如何修复悬停以便在工具提示文本中包含链接。
默认情况下,一旦您停止将鼠标悬停在工具提示元素上,工具提示就会消失 - 因此您无法将鼠标移到工具提示本身上方以单击链接。
有人知道解决这个问题的方法吗?
谢谢!
最佳答案
固定:隐藏选项的 true 旨在做到这一点:
$('#content').qtip(
{
content: 'This tooltip wont hide as long as mouse is over it',
hide: { when: 'mouseout', fixed: true }
});
参见http://craigsworks.com/projects/qtip/docs/reference/#hide-fixed了解详情
关于jQuery qtip : amend hover in order to include link in tooltip?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4583697/