[英]autoClose of tooltipster is not working
On page load the tooltipster shows, but i want it to stay there unless user clicks on the link in tooltipster content. 在页面加载时,工具提示显示,但是除非用户单击工具提示内容中的链接,否则我希望它停留在那里。 The problem is, when i hover on the tooltipster and go outside it, without clicking the link, the tooltipster closes (i think autoClose fails).
问题是,当我将鼠标悬停在工具提示上并在不单击链接的情况下移至工具提示之外时,工具提示将关闭(我认为autoClose失败)。
How can i prevent this closing? 如何防止关闭?
$(document).ready(function(){
$(".tooltip1").tooltipster ({
theme: '.tooltipster-light',
position: 'right',
animation: 'grow',
maxWidth: '160',
autoClose: false,
interactive: true,
contentAsHTML: true,
//timer: 10000,
delay: 1000,
content: '<a href="notified" class="tooltip_display" data-remote="true" style="color:#0988E4"><u>Do not show again</u></a>',
});
$(".tooltip1").tooltipster("show");
});
我遇到了同样的问题,但是几分钟后,我发现我的工具提示版本太旧了,我所要做的就是更新它,并且autoClose起作用了……尝试
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.