<?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: jQuery Timeout Function</title>
	<atom:link href="http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 17:00:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dan Gleeballs</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-990</link>
		<dc:creator>Dan Gleeballs</dc:creator>
		<pubDate>Wed, 08 Feb 2012 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-990</guid>
		<description>This is different to 
http://api.jquery.com/delay/ ?</description>
		<content:encoded><![CDATA[<p>This is different to <br />
<a href="http://api.jquery.com/delay/ ?" rel="nofollow">http://api.jquery.com/delay/ ?</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Psivadasan</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-982</link>
		<dc:creator>Psivadasan</dc:creator>
		<pubDate>Wed, 25 Jan 2012 22:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-982</guid>
		<description>Hi Ryan,

How do I keep this function running? For example, after I fade out the element, I want to fade it back in, then fade out and so on.

Thanks,

Prasant</description>
		<content:encoded><![CDATA[<p>Hi Ryan,</p>
<p>How do I keep this function running? For example, after I fade out the element, I want to fade it back in, then fade out and so on.</p>
<p>Thanks,</p>
<p>Prasant</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timmers</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-950</link>
		<dc:creator>timmers</dc:creator>
		<pubDate>Tue, 14 Jun 2011 11:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-950</guid>
		<description>@salih0vicX:

that will use that original fadeout function that jquery uses.

so what your telling Zach is that do this instead :

$(“#d”).fadeIn();
$(“#d”).fadeOut();

so he won&#039;t be using the new function that was posted above.
I copied it too and I can&#039;t get it to work.</description>
		<content:encoded><![CDATA[<p>@salih0vicX:</p>
<p>that will use that original fadeout function that jquery uses.</p>
<p>so what your telling Zach is that do this instead :</p>
<p>$(“#d”).fadeIn();<br />
$(“#d”).fadeOut();</p>
<p>so he won&#8217;t be using the new function that was posted above.<br />
I copied it too and I can&#8217;t get it to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Onofrei George</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-949</link>
		<dc:creator>Onofrei George</dc:creator>
		<pubDate>Tue, 14 Jun 2011 07:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-949</guid>
		<description>To complete the above comment:
I was using it this way:

$(this).idle(2000).click(ClickEvent);

and the problem was that it couldn&#039;t find anything to attach the click event after the idle event.</description>
		<content:encoded><![CDATA[<p>To complete the above comment:<br />
I was using it this way:</p>
<p>$(this).idle(2000).click(ClickEvent);</p>
<p>and the problem was that it couldn&#8217;t find anything to attach the click event after the idle event.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: salih0vicX</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-926</link>
		<dc:creator>salih0vicX</dc:creator>
		<pubDate>Mon, 28 Feb 2011 11:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-926</guid>
		<description>Zach, try this - it worked for me:
$(“#d”).fadeIn().idle(5000).fadeOut();
$(“#d”).fadeOut();

I suggest these articles: http://api.jquery.com/queue/ and http://api.jquery.com/jQuery.queue/</description>
		<content:encoded><![CDATA[<p>Zach, try this &#8211; it worked for me:<br />
$(“#d”).fadeIn().idle(5000).fadeOut();<br />
$(“#d”).fadeOut();</p>
<p>I suggest these articles: <a href="http://api.jquery.com/queue/" rel="nofollow">http://api.jquery.com/queue/</a> and <a href="http://api.jquery.com/jQuery.queue/" rel="nofollow">http://api.jquery.com/jQuery.queue/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-660</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Fri, 30 Jul 2010 19:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-660</guid>
		<description>And another thing lol:

The code does not work...
My element fades in but not back out
I cut and pasted the code where it belongs and invoked it as such:
		$(&quot;#d&quot;).fadeIn().idle(5000).fadeOut();

code above was:

(function($){
	jQuery.fn.idle = function(time){
		var i = $(this);
		i.queue(function(){
			setTimeout(function(){
				i.dequeue();
			}, time);
		});
	};
})(jQuery);

any help would be appreciated</description>
		<content:encoded><![CDATA[<p>And another thing lol:</p>
<p>The code does not work&#8230;<br />
My element fades in but not back out<br />
I cut and pasted the code where it belongs and invoked it as such:<br />
		$(&#8220;#d&#8221;).fadeIn().idle(5000).fadeOut();</p>
<p>code above was:</p>
<p>(function($){<br />
	jQuery.fn.idle = function(time){<br />
		var i = $(this);<br />
		i.queue(function(){<br />
			setTimeout(function(){<br />
				i.dequeue();<br />
			}, time);<br />
		});<br />
	};<br />
})(jQuery);</p>
<p>any help would be appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serhan</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-642</link>
		<dc:creator>Serhan</dc:creator>
		<pubDate>Thu, 24 Jun 2010 17:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-642</guid>
		<description>Looks helpful; I&#039;m gonna try it on my site.. Hope it works perfect ;)</description>
		<content:encoded><![CDATA[<p>Looks helpful; I&#8217;m gonna try it on my site.. Hope it works perfect <img src='http://www.ryancoughlin.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parag Arora</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-598</link>
		<dc:creator>Parag Arora</dc:creator>
		<pubDate>Fri, 26 Mar 2010 15:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-598</guid>
		<description>Nice and thanks for sharing this. I am looking for continuous actions (continuous polling). i.e., show - &gt; 2s -&gt; hide -&gt; 2s -&gt; show. Is recursion the way to go. Will be great if someone can share a snippet on the recommended way.</description>
		<content:encoded><![CDATA[<p>Nice and thanks for sharing this. I am looking for continuous actions (continuous polling). i.e., show &#8211; &gt; 2s -&gt; hide -&gt; 2s -&gt; show. Is recursion the way to go. Will be great if someone can share a snippet on the recommended way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Coughlin</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-596</link>
		<dc:creator>Ryan Coughlin</dc:creator>
		<pubDate>Fri, 26 Mar 2010 00:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-596</guid>
		<description>Ah! Let me take a look. Did you add it right before the function closes?</description>
		<content:encoded><![CDATA[<p>Ah! Let me take a look. Did you add it right before the function closes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://www.ryancoughlin.com/2009/01/22/jquery-timeout-function/comment-page-1/#comment-574</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 29 Jan 2010 16:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ryancoughlin.com/?p=399#comment-574</guid>
		<description>Very nice but I think you miss a return $(this); to be valid. Nice page!</description>
		<content:encoded><![CDATA[<p>Very nice but I think you miss a return $(this); to be valid. Nice page!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

