gpt4 book ai didi

jQuery qtip : amend hover in order to include link in tooltip?

转载 作者:行者123 更新时间:2023-12-01 02:16:26 24 4
gpt4 key购买 nike

我正在使用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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com