我在图像上放置了一个线索提示工具提示,并通过外部文件向线索提示添加了 html 链接。我试图让线索提示在鼠标悬停在图像上时打开,然后在鼠标移出图像时关闭。这一切都有效,除了当我将鼠标移到线索提示/图像上时线索提示闪烁,因为我选择了三个按钮之一......
如果有人可以帮助我,这些一定是一种方法,谢谢
我目前有:
$(document).ready(function() {
$(\'a.tips\').cluetip({
width: 80,
topOffset: -45,
leftOffset:-90,
positionBy: \'fixed\',
cluetipClass: \'rounded\',
showTitle: false,
sticky: true,
mouseOutClose: true
});
});
最好在鼠标关闭时使用粘性“true”,但我无法让它工作。
最佳答案
通常加上.stop()
修复闪烁问题。我以前没有使用过 cuetip,但请尝试类似的方法:
$(\'a.tips\').stop().cluetip({ ... });
关于jquery - cluttip 工具提示在图像上方闪烁,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15554833/