如何才能专注于qTip?
我刚刚开始尝试使用 qTip 进行弹出式工作。 我想知道当您将鼠标滚动到 qTip 上时是否可以将其设置为焦点。 假设一个应用程序是这样的,如果您想复制并粘贴 qTip 中弹出的文本,那么如何才能让 qTip 仅在鼠标离开 qTip 和生成 qTip 的 a href 后才消失?
谢谢
I just started trying out qTip for popup type work.
I was wondering if u can set the qTip to focus when you scroll your mouse onto it.
An application would be let's say if you wanted to copy and paste the text that popped up in a qTip, how would you be able to allow the qTip to disappear only after your mouse is off the qTip and the a href that spawns the qTip?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为此,您需要将
fixed
值设置为 true,并将when
值设置为 inactive:如果设置为 true,固定值将不会隐藏鼠标悬停时的工具提示,允许单击内容。 2 秒无交互后,非活动事件将触发并隐藏工具提示。您可以调整时间,但这是实现您想要的目标的一种方法。
To do that you need to set the
fixed
value to true and set thewhen
value to inactive:The fixed value if set to true will not hide the tooltip if moused over, allowing the contents to be clicked. The inactive event will fire and hide the tooltip after 2 seconds of no interaction. You can play around with the timing, but that is one way to achieve what you want.