<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Quick Tip: Prevent Animation Queue Buildup</title>
	<atom:link href="http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup</link>
	<description>Tips, techniques, and tutorials for the jQuery JavaScript library</description>
	<lastBuildDate>Wed, 10 Mar 2010 11:14:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fancy Thumbnail Hover Effect w/ jQuery &#171; Developpement Informatique</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79820</link>
		<dc:creator>Fancy Thumbnail Hover Effect w/ jQuery &#171; Developpement Informatique</dc:creator>
		<pubDate>Mon, 08 Mar 2010 06:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79820</guid>
		<description>[...] – To learn more about Animation Queue Buildup, read “Quick Tip: Prevent Animation Queue Buildup” at [...]</description>
		<content:encoded><![CDATA[<p>[...] – To learn more about Animation Queue Buildup, read “Quick Tip: Prevent Animation Queue Buildup” at [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 100 Popular jQuery Examples, Plugins and Tutorials</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79806</link>
		<dc:creator>100 Popular jQuery Examples, Plugins and Tutorials</dc:creator>
		<pubDate>Sat, 06 Mar 2010 23:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79806</guid>
		<description>[...] jQUERY TIPS  69. Prevent Animation Queue Build-up – Through jQuery, this natural queuing of animations is easy to code and user can move on to [...]</description>
		<content:encoded><![CDATA[<p>[...] jQUERY TIPS  69. Prevent Animation Queue Build-up – Through jQuery, this natural queuing of animations is easy to code and user can move on to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory Schires</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79697</link>
		<dc:creator>Cory Schires</dc:creator>
		<pubDate>Fri, 12 Feb 2010 17:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79697</guid>
		<description>If you need to clear the queue while using fadeIn or fadeOut (rather than the more generic animate function) you&#039;ll need to explicitly set both .stop() parameters to true.

For example: 
&lt;pre&gt;&lt;code&gt; 
    $(&#039;#e_newsletters&#039;).hover(function() {
        $(&#039;#flyout_btn&#039;).stop(true, true).fadeIn();
    }, function() {
        $(&#039;#flyout_btn&#039;).stop(true, true).fadeOut();
    });
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>If you need to clear the queue while using fadeIn or fadeOut (rather than the more generic animate function) you&#8217;ll need to explicitly set both .stop() parameters to true.</p>
<p>For example: </p>
<pre><code>
    $('#e_newsletters').hover(function() {
        $('#flyout_btn').stop(true, true).fadeIn();
    }, function() {
        $('#flyout_btn').stop(true, true).fadeOut();
    });
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gercek</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79592</link>
		<dc:creator>Gercek</dc:creator>
		<pubDate>Wed, 20 Jan 2010 18:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79592</guid>
		<description>this article is too old! you don&#039;t need another plugin to stop the queue... just use queue:false in animate function... 

sample code:

&lt;pre&gt;&lt;code&gt;
   $(&#039;#social li&#039;).hover(
      function () {
      	$(this).addClass(&#039;visible&#039;).animate({ width: &quot;85px&quot;}, {queue:false, duration:300} ); 
      }, 
      function () {
       $(this).removeClass(&#039;visible&#039;).animate({ width: &quot;21px&quot;}, {queue:false, duration:300 } ); 
      }
    );

&lt;/code&gt;&lt;/pre&gt;


However, I still couldn&#039;t find a way to stop the queue for fadeIn/fadeOut type of events...</description>
		<content:encoded><![CDATA[<p>this article is too old! you don&#8217;t need another plugin to stop the queue&#8230; just use queue:false in animate function&#8230; </p>
<p>sample code:</p>
<pre><code>
   $('#social li').hover(
      function () {
      	$(this).addClass('visible').animate({ width: "85px"}, {queue:false, duration:300} );
      },
      function () {
       $(this).removeClass('visible').animate({ width: "21px"}, {queue:false, duration:300 } );
      }
    );

</code></pre>
<p>However, I still couldn&#8217;t find a way to stop the queue for fadeIn/fadeOut type of events&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daryl</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79473</link>
		<dc:creator>Daryl</dc:creator>
		<pubDate>Wed, 06 Jan 2010 18:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79473</guid>
		<description>Thanks so much!  This fixed a frustrating problem I was having.  I have status messages shown in divs at the top of my page, which are hidden automatically after a certain time period.  They also have a button close them prematurely.  I was using a dummy animation to show them for a certain amount of time and then I was fading out and removing the divs.  The problem was that if I clicked the close button, nothing would happen because it was put in the queue after the dummy animation.  Adding stop before the fadeout on the close button click fixed it.
Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks so much!  This fixed a frustrating problem I was having.  I have status messages shown in divs at the top of my page, which are hidden automatically after a certain time period.  They also have a button close them prematurely.  I was using a dummy animation to show them for a certain amount of time and then I was fading out and removing the divs.  The problem was that if I clicked the close button, nothing would happen because it was put in the queue after the dummy animation.  Adding stop before the fadeout on the close button click fixed it.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SMiGL</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79432</link>
		<dc:creator>SMiGL</dc:creator>
		<pubDate>Thu, 24 Dec 2009 10:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79432</guid>
		<description>Helpful article. Thanks!</description>
		<content:encoded><![CDATA[<p>Helpful article. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79392</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Thu, 17 Dec 2009 02:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79392</guid>
		<description>This was exactly what I was looking for. Thanks a bunch.</description>
		<content:encoded><![CDATA[<p>This was exactly what I was looking for. Thanks a bunch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery Quick Tip: Prevent Animation Queue Buildup &#124; jQuery Wisdom</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79346</link>
		<dc:creator>jQuery Quick Tip: Prevent Animation Queue Buildup &#124; jQuery Wisdom</dc:creator>
		<pubDate>Sat, 12 Dec 2009 11:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79346</guid>
		<description>[...] animation queue just gets in the way. Learn to prevent Animation queue in jQuery with this article. Web Site         Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] animation queue just gets in the way. Learn to prevent Animation queue in jQuery with this article. Web Site         Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cyianite</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79288</link>
		<dc:creator>cyianite</dc:creator>
		<pubDate>Thu, 03 Dec 2009 11:19:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79288</guid>
		<description>great job,  I&#039;ve been saved :)</description>
		<content:encoded><![CDATA[<p>great job,  I&#8217;ve been saved :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: winmonaye</title>
		<link>http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/comment-page-1#comment-79169</link>
		<dc:creator>winmonaye</dc:creator>
		<pubDate>Tue, 17 Nov 2009 19:36:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningjquery.com/?p=267#comment-79169</guid>
		<description>This solved my opacity show hide animation issue.</description>
		<content:encoded><![CDATA[<p>This solved my opacity show hide animation issue.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
