Note that there are some explanatory texts on larger screens.

plurals
  1. POtrouble with jQuery animation JsFiddle Link -> jsfiddle.net/QYry5
    primarykey
    data
    text
    <p>I have written some code which is working fine but this animation works only first time and then it just loads and displays (no animation)</p> <pre><code>$(document).ready(function () { $("li.moreInfo").hide(); $("a").mouseover(function () { var t = $(this); t.parent().next().eq(0).show(); t.parent().next().animate({ width: '300px' }, 2000, 'easeOutBounce'); }); $("a").mouseleave(function () { var t = $(this); $(this).parent().next().hide(500); }); }); </code></pre> <p>HTML is here :</p> <p></p> <pre><code>&lt;div style="position:relative;"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;Section 1&lt;/a&gt;&lt;/li&gt; &lt;li class="moreInfo"&gt;More Info&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Section 2&lt;/a&gt;&lt;/li&gt; &lt;li class="moreInfo"&gt;Second More Info&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Section 3&lt;/a&gt;&lt;/li&gt; &lt;li class="moreInfo"&gt;More Info&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Section 4&lt;/a&gt;&lt;/li&gt; &lt;li class="moreInfo"&gt;Second More Info&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p></p> <p>On item is mouseover, It gives effects (easeOutBounce &amp; slowly moving) for the first time but when I repeat the same for second time, it neither show slow moving nor easeOutBounce effect. It just loads and that too very fast. I think it might be caching but i dont know how to avoid it.</p> <p>Can you guys please help me out to resolve this issue ?</p> <p>Update : I have posted HTML Code also JsFiddle Link -> <a href="http://jsfiddle.net/QYry5" rel="nofollow">http://jsfiddle.net/QYry5</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload