<?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: Animated Progress Bars Using MooTools:&#160;dwProgressBar</title> <atom:link href="http://davidwalsh.name/progress-bar-animated-mootools/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/progress-bar-animated-mootools</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 02 Sep 2010 19:57:16 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>By: Blog astuces web</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-15251</link> <dc:creator>Blog astuces web</dc:creator> <pubDate>Wed, 13 Jan 2010 22:50:38 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-15251</guid> <description>I think i&#039;m going to use into my blog too
Thanks for sharing</description> <content:encoded><![CDATA[<p>I think i&#8217;m going to use into my blog too<br
/> Thanks for sharing</p> ]]></content:encoded> </item> <item><title>By: Creation sites web</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-15250</link> <dc:creator>Creation sites web</dc:creator> <pubDate>Wed, 13 Jan 2010 22:49:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-15250</guid> <description>Very good job :)
i like it :)</description> <content:encoded><![CDATA[<p>Very good job :)<br
/> i like it :)</p> ]]></content:encoded> </item> <item><title>By: Greg</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-12950</link> <dc:creator>Greg</dc:creator> <pubDate>Mon, 26 Oct 2009 19:31:20 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-12950</guid> <description>I apologize if this was answered before.
Can anyone help me implement the preloader for a webpage. Thanks in advance.</description> <content:encoded><![CDATA[<p>I apologize if this was answered before.<br
/> Can anyone help me implement the preloader for a webpage. Thanks in advance.</p> ]]></content:encoded> </item> <item><title>By: Ty</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-11932</link> <dc:creator>Ty</dc:creator> <pubDate>Thu, 17 Sep 2009 06:50:13 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-11932</guid> <description>How do I get this script to preload images?</description> <content:encoded><![CDATA[<p>How do I get this script to preload images?</p> ]]></content:encoded> </item> <item><title>By: Peter Januarius</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-11012</link> <dc:creator>Peter Januarius</dc:creator> <pubDate>Tue, 04 Aug 2009 01:43:20 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-11012</guid> <description>I added  a text header that I called &#039;pretext&#039; which appears above the progress bar:So the options object looks like this:options: {
container: $$(&#039;body&#039;)[0],
boxID:&#039;&#039;,
percentageID:&#039;&#039;,
displayID:&#039;&#039;,
textID:&#039;&#039;,
startPercentage: 0,
displayText: false,
speed:10,
pretext:&quot;&quot;
}CreateElements looks like this://creates the box and percentage elements
createElements: function() {
var tbox = new Element(&#039;div&#039;, { id: this.options.textID, &#039;style&#039;:&#039;display:inline;float:left&#039; });
tbox.innerHTML = this.options.pretext;
var box = new Element(&#039;div&#039;, { id:this.options.boxID });
var perc = new Element(&#039;div&#039;, { id:this.options.percentageID, &#039;style&#039;:&#039;width:0px&#039; });
perc.inject(box);
tbox.inject(this.options.container);
box.inject(this.options.container);
if(this.options.displayText) {
var text = new Element(&#039;span&#039;, { id:this.options.displayID });
text.inject(this.options.container);
}
this.set(this.options.startPercentage);
},Note that I added the &#039;tbox&#039; ElementI like your component but I don&#039;t like MooTools. It is so unintuitive. The &#039;inject&#039; method is from some upside down world - possibly the Mr Men.CheersPete...</description> <content:encoded><![CDATA[<p>I added  a text header that I called &#8216;pretext&#8217; which appears above the progress bar:</p><p>So the options object looks like this:</p><p>options: {<br
/> container: $$(&#8216;body&#8217;)[0],<br
/> boxID:&#8221;,<br
/> percentageID:&#8221;,<br
/> displayID:&#8221;,<br
/> textID:&#8221;,<br
/> startPercentage: 0,<br
/> displayText: false,<br
/> speed:10,<br
/> pretext:&#8221;"<br
/> }</p><p>CreateElements looks like this:</p><p>//creates the box and percentage elements<br
/> createElements: function() {<br
/> var tbox = new Element(&#8216;div&#8217;, { id: this.options.textID, &#8216;style&#8217;:'display:inline;float:left&#8217; });<br
/> tbox.innerHTML = this.options.pretext;<br
/> var box = new Element(&#8216;div&#8217;, { id:this.options.boxID });<br
/> var perc = new Element(&#8216;div&#8217;, { id:this.options.percentageID, &#8216;style&#8217;:'width:0px&#8217; });<br
/> perc.inject(box);<br
/> tbox.inject(this.options.container);<br
/> box.inject(this.options.container);<br
/> if(this.options.displayText) {<br
/> var text = new Element(&#8216;span&#8217;, { id:this.options.displayID });<br
/> text.inject(this.options.container);<br
/> }<br
/> this.set(this.options.startPercentage);<br
/> },</p><p>Note that I added the &#8216;tbox&#8217; Element</p><p>I like your component but I don&#8217;t like MooTools. It is so unintuitive. The &#8216;inject&#8217; method is from some upside down world &#8211; possibly the Mr Men.</p><p>Cheers</p><p>Pete&#8230;</p> ]]></content:encoded> </item> <item><title>By: Peter Januarius</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-10965</link> <dc:creator>Peter Januarius</dc:creator> <pubDate>Sun, 02 Aug 2009 23:45:42 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-10965</guid> <description>Excellent job. Easy to use. I was wracking my brains what to do on my initial load of my webapp. Your progress bar fitted in without any problems. Using Mootools 1.2.1 and jQuery.CheersPete...</description> <content:encoded><![CDATA[<p>Excellent job. Easy to use. I was wracking my brains what to do on my initial load of my webapp. Your progress bar fitted in without any problems. Using Mootools 1.2.1 and jQuery.</p><p>Cheers</p><p>Pete&#8230;</p> ]]></content:encoded> </item> <item><title>By: Csaba</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-10274</link> <dc:creator>Csaba</dc:creator> <pubDate>Thu, 09 Jul 2009 22:07:28 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-10274</guid> <description>Great sample code and as David said you can use it wherever you want . Cool </description> <content:encoded><![CDATA[<p>Great sample code and as David said you can use it wherever you want . Cool</p> ]]></content:encoded> </item> <item><title>By: BobMac</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-8567</link> <dc:creator>BobMac</dc:creator> <pubDate>Mon, 06 Apr 2009 14:26:36 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-8567</guid> <description>I&#039;m trying to pass the output of this php variable $progress to your script and not having any luck. Any ideas?</description> <content:encoded><![CDATA[<p>I&#8217;m trying to pass the output of this php variable $progress to your script and not having any luck. Any ideas?</p> ]]></content:encoded> </item> <item><title>By: owen</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-8495</link> <dc:creator>owen</dc:creator> <pubDate>Wed, 01 Apr 2009 10:49:54 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-8495</guid> <description>Hi,
Is there any way to create a nice looking percentage bar to preload all images / content on a HTML page, and then show that page once everything is cached?You seem to know what you&#039;re talking about, whereas I don&#039;t
:-)</description> <content:encoded><![CDATA[<p>Hi,<br
/> Is there any way to create a nice looking percentage bar to preload all images / content on a HTML page, and then show that page once everything is cached?</p><p>You seem to know what you&#8217;re talking about, whereas I don&#8217;t<br
/> :-)</p> ]]></content:encoded> </item> <item><title>By: Ruslan Abuzant</title><link>http://davidwalsh.name/progress-bar-animated-mootools/comment-page-1#comment-7699</link> <dc:creator>Ruslan Abuzant</dc:creator> <pubDate>Sun, 08 Feb 2009 22:33:42 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=313#comment-7699</guid> <description>Hello,Thought you might be interested to see a website where your component is used or maybe give it a review or something. I made a forex prices and trend analysis tool that you can see at http://www.forex-prices.com/Have a nice day, Ruslan</description> <content:encoded><![CDATA[<p>Hello,</p><p>Thought you might be interested to see a website where your component is used or maybe give it a review or something. I made a forex prices and trend analysis tool that you can see at <a
href="http://www.forex-prices.com/" rel="nofollow">http://www.forex-prices.com/</a></p><p>Have a nice day, Ruslan</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 6/19 queries in 0.027 seconds using disk

Served from: davidwalsh.name @ 2010-09-02 23:50:02 -->