2012-03-22 59 views
0

我使用tipsy.js为我的应用程序,当我悬停的内容显示工具提示,但它的闪烁或跳转往往在FF和IE中,因为在Chrome中它不发生一些人帮我弄清楚这个问题。工具提示闪烁(或)在jQuery的跳转tipsy.js

<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和窗口的宽度就是在那个时候,当小工具提示宽度具有不充分显示全文开始闪烁或跳跃的空间。调整窗口的大小,并确保窗口角落的工具提示元素。

+0

显示一些代码让我们开始 – 2012-03-22 10:53:56

+0

通常,在调整窗口大小时,工具提示的宽度不会增加。 – 2012-03-22 13:43:11

回答

0

感谢球员我解决了这个问题,通过添加& nbsp在哪里我需要一个空间就是它。

<div id="div142" class="CheckBox3Img" runat="server" title="Store&nbsp;xxx&nbsp;try&nbsp;to give&nbsp;more&nbsp; " 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>