<?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: Tutorial : Overlay a AJAX Spinner in the center of Web Page using Prototype</title>
	<atom:link href="http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/feed/" rel="self" type="application/rss+xml" />
	<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 05 Sep 2010 14:09:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Dan</title>
		<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/comment-page-1/#comment-8277</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sat, 21 Aug 2010 08:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://visionmasterdesigns.com/?p=1063#comment-8277</guid>
		<description>nothing works in IE6! </description>
		<content:encoded><![CDATA[<p>nothing works in IE6!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinin</title>
		<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/comment-page-1/#comment-4111</link>
		<dc:creator>vinin</dc:creator>
		<pubDate>Wed, 26 May 2010 08:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://visionmasterdesigns.com/?p=1063#comment-4111</guid>
		<description>how to change the timing of this spinner? </description>
		<content:encoded><![CDATA[<p>how to change the timing of this spinner?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roubaozi</title>
		<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/comment-page-1/#comment-3841</link>
		<dc:creator>Roubaozi</dc:creator>
		<pubDate>Tue, 11 May 2010 16:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://visionmasterdesigns.com/?p=1063#comment-3841</guid>
		<description>does not work in IE6 </description>
		<content:encoded><![CDATA[<p>does not work in IE6</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lolcat</title>
		<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/comment-page-1/#comment-3307</link>
		<dc:creator>Lolcat</dc:creator>
		<pubDate>Thu, 17 Dec 2009 14:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://visionmasterdesigns.com/?p=1063#comment-3307</guid>
		<description>Nice example! Thanks! </description>
		<content:encoded><![CDATA[<p>Nice example! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/comment-page-1/#comment-3016</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 28 Apr 2009 19:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://visionmasterdesigns.com/?p=1063#comment-3016</guid>
		<description>Ohh nice,
I hope you have that sorted out. I am extremely sorry for not attending your query earlier, was busy with the site design :P

Anyways, the code seems good, if you have any other queries lemme know
Regards</description>
		<content:encoded><![CDATA[<p>Ohh nice,<br />
I hope you have that sorted out. I am extremely sorry for not attending your query earlier, was busy with the site design <img src='http://visionmasterdesigns.com/wordpress/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Anyways, the code seems good, if you have any other queries lemme know<br />
Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabiano Soriani</title>
		<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/comment-page-1/#comment-3015</link>
		<dc:creator>Fabiano Soriani</dc:creator>
		<pubDate>Tue, 28 Apr 2009 19:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://visionmasterdesigns.com/?p=1063#comment-3015</guid>
		<description>Hello! Tnx for aswering.. my problem was, as I was testing localy the pictures were loading too fast unlike your demo that have a delay, so the fix for me was doing like this:
[code lang=&quot;php&quot;]
&lt;code lang=&quot;js&quot;&gt;
	Ajax.Responders.register({
		onCreate: function() {
			new Effect.Opacity(&#039;page&#039;, { from: 1.0, to: 0.5, duration: 0.6 });
			new	Effect.Appear(&#039;loading&#039;);
			
		},
		onComplete: function() {
			new Effect.Opacity(&#039;page&#039;, { from: 0.8, to: 1.0, duration: 0.1 });
			$(&#039;loading&#039;).hide()
			new	Effect.Fade(&#039;loading&#039;);
		}
	});
&lt;/code&gt;
[/code]</description>
		<content:encoded><![CDATA[<p>Hello! Tnx for aswering.. my problem was, as I was testing localy the pictures were loading too fast unlike your demo that have a delay, so the fix for me was doing like this:</p>
<pre class="brush: php">
&lt;code lang=&quot;js&quot;&gt;
	Ajax.Responders.register({
		onCreate: function() {
			new Effect.Opacity(&#039;page&#039;, { from: 1.0, to: 0.5, duration: 0.6 });
			new	Effect.Appear(&#039;loading&#039;);

		},
		onComplete: function() {
			new Effect.Opacity(&#039;page&#039;, { from: 0.8, to: 1.0, duration: 0.1 });
			$(&#039;loading&#039;).hide()
			new	Effect.Fade(&#039;loading&#039;);
		}
	});
&lt;/code&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/comment-page-1/#comment-3014</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 28 Apr 2009 19:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://visionmasterdesigns.com/?p=1063#comment-3014</guid>
		<description>Hey,
I need more information regarding this.
I haven`t been able to understand what you are trying to do yet. there is a ajax updater on every link ?</description>
		<content:encoded><![CDATA[<p>Hey,<br />
I need more information regarding this.<br />
I haven`t been able to understand what you are trying to do yet. there is a ajax updater on every link ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabiano Soriani</title>
		<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/comment-page-1/#comment-2912</link>
		<dc:creator>Fabiano Soriani</dc:creator>
		<pubDate>Sat, 25 Apr 2009 16:06:29 +0000</pubDate>
		<guid isPermaLink="false">http://visionmasterdesigns.com/?p=1063#comment-2912</guid>
		<description>I will try to post my code again (with no tags)

[code lang=&quot;php&quot;]
style
/* Loading box of width=height=100px with a spinner placed at the center */
#loading {
	[your code here]
} / style

script type=&quot;text/javascript&quot;
document.observe(&quot;dom:loaded&quot;, function() {
	[your code here]
} / script 

div id=&quot;page&quot;
	
	div id=&quot;update&quot;
		center  img src=&quot;short.png&quot;  /center
	/div
	div id=&quot;form&quot;  center 
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/10&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Citrons_multisize_&quot; border=&quot;1&quot; src=&quot;/system/imagens/10/thumb/citrons_multisize_.jpg?1240515952&quot; /
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/9&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Xdg&quot; border=&quot;1&quot; src=&quot;/system/imagens/9/thumb/xdg.jpg?1240515927&quot; /
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/7&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Cimg3538&quot; border=&quot;1&quot; src=&quot;/system/imagens/7/thumb/CIMG3538.JPG?1240495758&quot; /
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/6&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Cimg3540&quot; border=&quot;1&quot; src=&quot;/system/imagens/6/thumb/CIMG3540.JPG?1240460705&quot; /
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/5&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Cimg3541&quot; border=&quot;1&quot; src=&quot;/system/imagens/5/thumb/CIMG3541.JPG?1240460611&quot; /
	/ center 
	/ div
/ div

div id=&quot;loading&quot;
Loading...
/ div

[/code]</description>
		<content:encoded><![CDATA[<p>I will try to post my code again (with no tags)</p>
<pre class="brush: php">
style
/* Loading box of width=height=100px with a spinner placed at the center */
#loading {
	[your code here]
} / style

script type=&quot;text/javascript&quot;
document.observe(&quot;dom:loaded&quot;, function() {
	[your code here]
} / script 

div id=&quot;page&quot;

	div id=&quot;update&quot;
		center  img src=&quot;short.png&quot;  /center
	/div
	div id=&quot;form&quot;  center
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/10&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Citrons_multisize_&quot; border=&quot;1&quot; src=&quot;/system/imagens/10/thumb/citrons_multisize_.jpg?1240515952&quot; /
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/9&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Xdg&quot; border=&quot;1&quot; src=&quot;/system/imagens/9/thumb/xdg.jpg?1240515927&quot; /
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/7&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Cimg3538&quot; border=&quot;1&quot; src=&quot;/system/imagens/7/thumb/CIMG3538.JPG?1240495758&quot; /
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/6&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Cimg3540&quot; border=&quot;1&quot; src=&quot;/system/imagens/6/thumb/CIMG3540.JPG?1240460705&quot; /
		a href=&quot;#&quot; onclick = &quot;new Ajax.Updater(&#039;update&#039;, &#039;/mostra_foto_/5&#039;, {asynchronous:true, evalScripts:true, parameters:&#039;authenticity_token=&#039; + encodeURIComponent(&#039;433973460cdbc4fb77d4ae450290762d1ffbb983&#039;)}); return false;&quot;&gt; img alt=&quot;Cimg3541&quot; border=&quot;1&quot; src=&quot;/system/imagens/5/thumb/CIMG3541.JPG?1240460611&quot; /
	/ center
	/ div
/ div

div id=&quot;loading&quot;
Loading...
/ div
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabiano Soriani</title>
		<link>http://visionmasterdesigns.com/tutorial-adding-a-ajax-spinner-in-the-center-of-web-page-using-prototype/comment-page-1/#comment-2911</link>
		<dc:creator>Fabiano Soriani</dc:creator>
		<pubDate>Sat, 25 Apr 2009 16:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://visionmasterdesigns.com/?p=1063#comment-2911</guid>
		<description>Hi.. great blog layout impressive! And this loading stuff is pretty cool too

So I´m trying to use your code but it is kinda stucking the loading picture I like prototype, but still kinda noob if you have a idea please let me know, my code (short version):

[code]

/* Loading box of width=height=100px with a spinner placed at the center */
#loading {
	[your code here]
} 

document.observe(&quot;dom:loaded&quot;, function() {
	[your code here]
} 


	
	
		  
	
	
			
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
		&lt;a href=&quot;#&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
	
	

&lt;!-- Loading DIV. Should be just below BODY --&gt;

Carregando...


[/code]

So.. after i click on a thumb the update div gets successfully updated, but until i click another thumb the loading box stay on the center</description>
		<content:encoded><![CDATA[<p>Hi.. great blog layout impressive! And this loading stuff is pretty cool too</p>
<p>So I´m trying to use your code but it is kinda stucking the loading picture I like prototype, but still kinda noob if you have a idea please let me know, my code (short version):</p>
<p>[code]</p>
<p>/* Loading box of width=height=100px with a spinner placed at the center */<br />
#loading {<br />
	[your code here]<br />
} </p>
<p>document.observe("dom:loaded", function() {<br />
	[your code here]<br />
} </p>
<p>		<a href="#" rel="nofollow"></a><br />
		<a href="#" rel="nofollow"></a><br />
		<a href="#" rel="nofollow"></a><br />
		<a href="#" rel="nofollow"></a><br />
		<a href="#" rel="nofollow"></a></p>
<p><!-- Loading DIV. Should be just below BODY --></p>
<p>Carregando...</p>
<p>[/code]</p>
<p>So.. after i click on a thumb the update div gets successfully updated, but until i click another thumb the loading box stay on the center</p>
]]></content:encoded>
	</item>
</channel>
</rss>
