2012-03-22 55 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>