<?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: jsProgressBarHandler 0.3.3</title>
	<atom:link href="http://www.bram.us/2008/11/10/jsprogressbarhandler-033/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bram.us/2008/11/10/jsprogressbarhandler-033/</link>
	<description>A rather geeky/technical weblog by Bram(us) Van Damme</description>
	<lastBuildDate>Tue, 07 Feb 2012 04:34:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dave</title>
		<link>http://www.bram.us/2008/11/10/jsprogressbarhandler-033/#comment-1409</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 14 May 2009 05:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.bram.us/?p=1824#comment-1409</guid>
		<description>Nice job on the script BTW.
I noticed in your Ajax demo that you are simply counting the number of times Ajax update is called and then updating the bar accordingly. Is there any way that you could provide and example of how to update the progress bar using to the information pulled by the Ajax update?
For example:
First Ajax update: php script returns 34  (progress bar updates to 34%)
Next ajax update: php script ruturns 37 (progress bar updates to 37%)
A quick explanation of how to do that would be extremely helpful. :)</description>
		<content:encoded><![CDATA[<p>Nice job on the script BTW.</p>
<p>I noticed in your Ajax demo that you are simply counting the number of times Ajax update is called and then updating the bar accordingly. Is there any way that you could provide and example of how to update the progress bar using to the information pulled by the Ajax update?</p>
<p>For example:<br />
First Ajax update: php script returns 34  (progress bar updates to 34%)<br />
Next ajax update: php script ruturns 37 (progress bar updates to 37%)</p>
<p>A quick explanation of how to do that would be extremely helpful. <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: radha</title>
		<link>http://www.bram.us/2008/11/10/jsprogressbarhandler-033/#comment-1408</link>
		<dc:creator>radha</dc:creator>
		<pubDate>Fri, 30 Jan 2009 19:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.bram.us/?p=1824#comment-1408</guid>
		<description>I included the &#039;jsProgressBarHandler.js&#039; file in my jsp using  and for some reason the bar is showing up only when I hard code the src=&#039;contextpath&#039;/images/... to get the image location for the boxImage and barImage properties of defaultOptions. In order to get the contextPath dynamically, I often use
document.forms[0].contextPath.value
where contextPath is a hidden field in my jsp
if the javascript in itself is in my jsp instead of include a .js file
I had to create a global variable in my jsp javascript as
 var contextPath = &#039;&#039;
and access that variable in the jsProgressBarHandler.js to make it work as follows:
var defaultOptions =
{
			...
     boxImage	: contextPath + &#039;/pages/javascript/jsprogressbar/images/bramus/percentImage.png&#039;,
     barImage	: contextPath + &#039;/pages/javascript/jsprogressbar/images/bramus/percentImage_back.png&#039;,
...
}</description>
		<content:encoded><![CDATA[<p>I included the &#8216;jsProgressBarHandler.js&#8217; file in my jsp using  and for some reason the bar is showing up only when I hard code the src=&#8217;contextpath&#8217;/images/&#8230; to get the image location for the boxImage and barImage properties of defaultOptions. In order to get the contextPath dynamically, I often use</p>
<p>document.forms[0].contextPath.value<br />
where contextPath is a hidden field in my jsp</p>
<p>if the javascript in itself is in my jsp instead of include a .js file</p>
<p>I had to create a global variable in my jsp javascript as</p>
<p> var contextPath = &#8221;</p>
<p>and access that variable in the jsProgressBarHandler.js to make it work as follows:</p>
<p>var defaultOptions =<br />
{<br />
			&#8230;</p>
<p>     boxImage	: contextPath + &#8216;/pages/javascript/jsprogressbar/images/bramus/percentImage.png&#8217;,</p>
<p>     barImage	: contextPath + &#8216;/pages/javascript/jsprogressbar/images/bramus/percentImage_back.png&#8217;,<br />
&#8230;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danilo</title>
		<link>http://www.bram.us/2008/11/10/jsprogressbarhandler-033/#comment-1407</link>
		<dc:creator>Danilo</dc:creator>
		<pubDate>Tue, 09 Dec 2008 17:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.bram.us/?p=1824#comment-1407</guid>
		<description>Congratulations ... code is nice !
I have a question, I need used number decimal &quot;10.5&quot;
who I do ?</description>
		<content:encoded><![CDATA[<p>Congratulations &#8230; code is nice !<br />
I have a question, I need used number decimal &#8220;10.5&#8243;<br />
who I do ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bram.us &#187; My Javascript (non-AJAX) Progress / Percentage Bar : jsProgressBarHandler 0.3.1</title>
		<link>http://www.bram.us/2008/11/10/jsprogressbarhandler-033/#comment-1406</link>
		<dc:creator>Bram.us &#187; My Javascript (non-AJAX) Progress / Percentage Bar : jsProgressBarHandler 0.3.1</dc:creator>
		<pubDate>Tue, 11 Nov 2008 20:33:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.bram.us/?p=1824#comment-1406</guid>
		<description>[...] This version is outdated!Grab the latest version over at the jsProgressBarHandler Project [...]</description>
		<content:encoded><![CDATA[<p>[...] This version is outdated!Grab the latest version over at the jsProgressBarHandler Project [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nico van de Kamp</title>
		<link>http://www.bram.us/2008/11/10/jsprogressbarhandler-033/#comment-1405</link>
		<dc:creator>Nico van de Kamp</dc:creator>
		<pubDate>Tue, 11 Nov 2008 15:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.bram.us/?p=1824#comment-1405</guid>
		<description>I have a question.
Mostly is a progressbar used to show how far the data is uploaded. I have been playing with it but how can the progressbar be &quot;refreshed&quot; I mean There is a certain amount of data been read but the progressbar is not updated. On the end of reading data you can see it moving to the 100%. I understand this issue has nothing to do with the progressbar itself but to how refresh the progress bar?
Or can I call a function from which I don&#039;t know if exist. Further, it looks, it is: smart!
With regards,
Nico</description>
		<content:encoded><![CDATA[<p>I have a question.<br />
Mostly is a progressbar used to show how far the data is uploaded. I have been playing with it but how can the progressbar be &#8220;refreshed&#8221; I mean There is a certain amount of data been read but the progressbar is not updated. On the end of reading data you can see it moving to the 100%. I understand this issue has nothing to do with the progressbar itself but to how refresh the progress bar?<br />
Or can I call a function from which I don&#8217;t know if exist. Further, it looks, it is: smart!</p>
<p>With regards,</p>
<p>Nico</p>
]]></content:encoded>
	</item>
</channel>
</rss>

