我在我的应用程序中使用tipsy.js,当我将内容悬停时,它会显示工具提示,但它在FF和IE中经常闪烁或跳跃,而在Chrome中它没有发生,请有人帮助我解决这个问题。
<div id="div142" class="CheckBox3Img" runat="server" title=" Store xxx try to give more " visible="false" style="height: 19px; margin-top: 8px; cursor: pointer;">
<a id="lnkStore" runat="server" style="float: left; height: 18px; width: 24px;" title=" Website Store"
class="imgwebDev">
<img src="../../App_Themes/Main/_images/DollarImg.jpg" />
</a>
</div>
JavaScript:
$(.CheckBox3Img).tipsy({gravity:s});
注意:这适用于正常的最大化窗口,因为我支持其他设备 ipad 并且窗口的宽度很小,当时工具提示宽度没有足够的空间来显示全文它开始闪烁或跳跃。将窗口大小调整为小,并确保工具提示元素位于窗口的角落。