<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>Bram.us &#187; JS_BRAMUS</title>
	<atom:link href="http://www.bram.us/category/projects/js_bramus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bram.us</link>
	<description>A rather geeky/technical weblog by Bram(us) Van Damme</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:13:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>flashLightBoxInjector 1.2 and Lightbox 2.0.4</title>
		<link>http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/</link>
		<comments>http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 19:51:57 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/</guid>
		<description><![CDATA[It has been brought to my attention that the release of Lightbox 2.0.4 broke some stuff in flashLightBoxInjector 1.2. After investigating the issue, it turns out that one (1) tiny change to the lightbox.js file is needed in order to &#8230; <a href="http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img id="image976" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/bridgedgap2.jpg" alt="bridgedGap2" style="display: block; float:left; margin: 0 10px 10px 0;" />It has been <a href="http://www.bram.us/projects/flashlightboxinjector/#comment-207300">brought to my attention</a> that the release of <a href="http://www.lokeshdhakar.com/projects/lightbox2/">Lightbox 2.0.4</a> broke some stuff in <a href="http://www.bram.us/projects/flashlightboxinjector/">flashLightBoxInjector 1.2</a>. After investigating the issue, it turns out that one (1) tiny change to the <code>lightbox.js</code> file is needed in order to get <code>flashLightBoxInjector</code> working with Lightbox 2.0.4.<br style="clear: both;" /></p>
<p><span id="more-1609"></span></p>
<p>In Lightbox 2.0.4 Lokesh (the author of Lightbox) decided to create the Lightbox instance without storing it into a variable. As <code>flashLightBoxInjector</code> relies on that variable, things broke. Now, to fix this follow this tiny procedure and it&#8217;ll work just fine, as it did with version 2.0.3:</p>
<ol>
<li>Open <code>lightbox.js</code> with your favorite texteditor</li>
<li>Scroll down to the very last line where it reads
<pre class="brush: jscript; title: ; notranslate">document.observe('dom:loaded', function () { new Lightbox(); });</pre>
</li>
<li>Replace that line with this
<pre class="brush: jscript; title: ; notranslate">document.observe('dom:loaded', function () { myLightbox = new Lightbox(); });</pre>
</li>
<li>Save your file and &#8230; that&#8217;s it <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>I&#8217;ve changed the online example and <a href="http://www.bram.us/projects/flashlightboxinjector/#download"><code>flashLightBoxInjector 1.2</code> download</a> and <a href="http://www.bram.us/demo/projects/flashlightboxinjector/">demos</a> here on bram.us to include that change, so you can roll with it &ldquo;out of the box&rdquo;. Above that I&#8217;ve mailed Lokesh about this issue, hoping to see the variable reappear in a next release.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/04/15/flashlightboxinjector-12-and-lightbox-204/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>JS_BRAMUS.lazierLoad 0.4</title>
		<link>http://www.bram.us/2008/02/28/js_bramuslazierload-04/</link>
		<comments>http://www.bram.us/2008/02/28/js_bramuslazierload-04/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 19:49:22 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/02/28/js_bramuslazierload-04/</guid>
		<description><![CDATA[JS_BRAMUS.lazierLoad, a Javascript Image Lazy Loader has been updated to version 0.4 thanks to some excellent suggestions by mo from pictor.us What is lazierLoad? lazierLoad is a little JavaScript wichh automatically hooks itself to the page, finds all images and &#8230; <a href="http://www.bram.us/2008/02/28/js_bramuslazierload-04/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/09/lazy.gif' alt='' style="display: block; float: left; margin: 0 10px 10px 0;" /><a href="http://www.bram.us/projects/js_bramus/lazierload/"><code>JS_BRAMUS.lazierLoad</code>, a Javascript Image Lazy Loader</a> has been updated to version 0.4 thanks to some <a href="http://www.bram.us/projects/js_bramus/lazierload/#comment-181700">excellent suggestions</a> by mo from <a href="http://pictor.us/">pictor.us</a><br style="clear: both;" /></p>
<p><span id="more-1483"></span></p>
<h2>What is lazierLoad?</h2>
<div class="BramusBlock">
<p><a href="http://www.bram.us/projects/js_bramus/lazierload/"><code>lazierLoad</code></a> is a little JavaScript wichh automatically hooks itself to the page, finds all images and only loads those appearing &ldquo;<a href="http://en.wikipedia.org/wiki/Above_the_fold">above the fold</a>&rdquo; resulting in <strong>faster page loads</strong> as the images not located in the <a href="http://en.wikipedia.org/wiki/Viewport">viewport</a>, are not loaded until they appear within it (<em>viz. when the user scrolls down</em>).</p>
<p>The idea for <code>lazierLoad</code> was inspired upon <a href="http://www.appelsiini.net/projects/lazyload/">Lazy Load</a> (which is built for use with jQuery), yet the code differs quite a lot.</p>
</div>
<h2>What is new in this version?</h2>
<div class="BramusBlock">
<p>The most important (and only) change is that version 0.4 brings back the option to override the default settings from within the constructor. This behavior was available in 0.2 (but kinda undocumented), but dropped in 0.3 (<em>in a lesser bright moment of me pondering</em>). Upon request by mo from pictor.us, the option has been brought back.</p>
<p>To easily implement this, a <code>lazierLoadAutoHook</code> parameter got introduced. If set to <code>true</code>, <code>JS_BRAMUS.lazierLoad</code> will automagically start itself. When set to <code>false </code>one must manually invoke a new instantiation of <code>JS_BRAMUS.lazierLoad</code>.</p>
<p>Since version 0.3, the possible options to tweak are:</p>
<ul>
<li><code>treshold</code>: images which appear <em>treshold</em> pixels from the bottom will be loaded <br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
<li><code>replaceImage</code>: image to replace the non-loaded images with until they are loaded (most likely a transparent 1 by 1 pixel image)<br />(<em>defaults to &ldquo;blank.gif&rdquo;</em>)</li>
<li><code>loadingImage</code>: image to show while a non-loaded image is being loaded<br />(<em>defaults to &ldquo;spinner.gif&rdquo;</em>)</li>
<li><code>extensions</code>: array of extensions to lazyLoad<br />(<em>defaults to &ldquo;['gif','jpg','png','jpg']&rdquo;</em>)</li>
<li><code>minWidth</code>: minimum width an image must have in order to be lazyLoaded<br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
<li><code>minHeight</code>: minimum height an image must have in order to be lazyLoaded<br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
</ul>
<p>These default options can now be easily overriden from within the constructor.</p>
</div>
<h2>Cool, is there a demo?</h2>
<div class="BramusBlock">
<p style="text-align: center; font-size: smaller;"><a href="http://www.bram.us/demo/projects/lazierload/" title="lazierLoad Demo"><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/09/lazierload.gif' alt='lazierload.gif' /></a></p>
<p>TIP: scroll down really really fast <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
</div>
<h2>Where can I download it?</h2>
<div class="BramusBlock">
<p>Right here:</p>
<p><download>http://www.bram.us/wordpress;/wp-content/uploads/2008/02/lazierload_04.zip;Download lazierLoad 0.4;</download>
</div>
<h2>Wow, you’re going to fast: I have a question, I need help, I need more info, how do I configure this thing?</h2>
<div class="BramusBlock">
<p>Don’t worry my friend, <a href="http://www.bram.us/projects/js_bramus/lazierload/">there’s a full page here on bram.us devoted to <code>lazierLoad</code> where you can find all info about it</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/02/28/js_bramuslazierload-04/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>JS_BRAMUS.lazierLoad 0.3</title>
		<link>http://www.bram.us/2008/02/27/js_bramuslazierload-03/</link>
		<comments>http://www.bram.us/2008/02/27/js_bramuslazierload-03/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 23:38:34 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/02/27/js_bramuslazierload-03/</guid>
		<description><![CDATA[JS_BRAMUS.lazierLoad, a Javascript Image Lazy Loader has been updated to version 0.3. Changes are compatibility with the latest Prototype version (1.6.0.2), the introduction of a global options object to easily configure lazierLoad and some extra options such as minWidth, minHeight &#8230; <a href="http://www.bram.us/2008/02/27/js_bramuslazierload-03/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/09/lazy.gif' alt='' style="display: block; float: left; margin: 0 10px 10px 0;" /><a href="http://www.bram.us/projects/js_bramus/lazierload/"><code>JS_BRAMUS.lazierLoad</code>, a Javascript Image Lazy Loader</a> has been updated to version 0.3. Changes are compatibility with the latest Prototype version (1.6.0.2), the introduction of a global options object to easily configure <code>lazierLoad</code> and some extra options such as minWidth, minHeight and extensions.<br style="clear: both;" /></p>
<p><span id="more-1478"></span></p>
<h2>What is lazierLoad?</h2>
<div class="BramusBlock">
<p><a href="http://www.bram.us/projects/js_bramus/lazierload/"><code>lazierLoad</code></a> is a little JavaScript wichh automatically hooks itself to the page, finds all images and only loads those appearing &ldquo;<a href="http://en.wikipedia.org/wiki/Above_the_fold">above the fold</a>&rdquo; resulting in <strong>faster page loads</strong> as the images not located in the <a href="http://en.wikipedia.org/wiki/Viewport">viewport</a>, are not loaded until they appear within it (<em>viz. when the user scrolls down</em>).</p>
<p>The idea for <code>lazierLoad</code> was inspired upon <a href="http://www.appelsiini.net/projects/lazyload/">Lazy Load</a> (which is built for use with jQuery), yet the code differs quite a lot.</p>
</div>
<h2>What is new in this version?</h2>
<div class="BramusBlock">
<p>The most important change is that version 0.3 introduces compatibility with Prototype 1.6 final or higher, something 0.2 was not capable of due to a rather huge change in how events are named between rc1 and the final.</p>
<p>Next to this compatibility issue, <code>lazierLoad</code> now holds a global config Object named <code>lazyLoadOptions</code>. This variable can easily be altered to reflect the options you want to use it with. In version 0.3 some new options were introduced: <code>minWidth</code>, <code>minHeight </code>and <code>extensions</code>.</p>
<p>In version 0.3, the possible options to tweak are:</p>
<ul>
<li><code>treshold</code>: images which appear <em>treshold</em> pixels from the bottom will be loaded <br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
<li><code>replaceImage</code>: image to replace the non-loaded images with until they are loaded (most likely a transparent 1 by 1 pixel image)<br />(<em>defaults to &ldquo;blank.gif&rdquo;</em>)</li>
<li><code>loadingImage</code>: image to show while a non-loaded image is being loaded<br />(<em>defaults to &ldquo;spinner.gif&rdquo;</em>)</li>
<li><code>extensions</code>: array of extensions to lazyLoad<br />(<em>defaults to &ldquo;['gif','jpg','png','jpg']&rdquo;</em>)</li>
<li><code>minWidth</code>: minimum width an image must have in order to be lazyLoaded<br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
<li><code>minHeight</code>: minimum height an image must have in order to be lazyLoaded<br />(<em>defaults to &ldquo;100&rdquo;</em>)</li>
</ul>
</div>
<h2>Cool, is there a demo?</h2>
<div class="BramusBlock">
<p style="text-align: center; font-size: smaller;"><a href="http://www.bram.us/demo/projects/lazierload/" title="lazierLoad Demo"><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/09/lazierload.gif' alt='lazierload.gif' /></a></p>
<p>TIP: scroll down really really fast <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
</div>
<h2>Where can I download it?</h2>
<div class="BramusBlock">
<p>Right here:</p>
<p><download>http://www.bram.us/wordpress;/wp-content/uploads/2008/02/lazierload_03.zip;Download lazierLoad 0.3;</download>
</div>
<h2>Wow, you’re going to fast: I have a question, I need help, I need more info, how do I configure this thing?</h2>
<div class="BramusBlock">
<p>Don’t worry my friend, <a href="http://www.bram.us/projects/js_bramus/lazierload/">there’s a full page here on bram.us devoted to <code>lazierLoad</code> where you can find all info about it</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/02/27/js_bramuslazierload-03/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commenting and Real Names</title>
		<link>http://www.bram.us/2008/02/24/commenting-and-real-names/</link>
		<comments>http://www.bram.us/2008/02/24/commenting-and-real-names/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 21:43:05 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Elsewhere]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[link]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/02/24/commenting-and-real-names/</guid>
		<description><![CDATA[iA states to Use Your Real Name When You Comment (or a name that identifies you).]]></description>
			<content:encoded><![CDATA[<p>iA states to <a href="http://informationarchitects.jp/use-your-real-name-when-you-comment/">Use Your Real Name When You Comment</a> (or a name that identifies you).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/02/24/commenting-and-real-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Javascript (non-AJAX) Progress / Percentage Bar : jsProgressBarHandler 0.3.1</title>
		<link>http://www.bram.us/2008/02/20/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-031/</link>
		<comments>http://www.bram.us/2008/02/20/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-031/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 18:16:57 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Bramus!]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/02/20/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-031/</guid>
		<description><![CDATA[A new version of jsProgressBarHandler is avaiable. Changes are a minor bugfix when handling the internal queue when animation was set to false and an update of Prototype to the latest version (1.6.0.2) What is jsProgressBarHandler all about? jsProgressBarHandler is &#8230; <a href="http://www.bram.us/2008/02/20/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-031/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img id="image1021" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/progress.gif" alt="jsprogressbarhandlerajax.jpg" style="display: block; float: left; margin: 0 10px 10px 0;" />A new version of <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/"><code>jsProgressBarHandler</code></a> is avaiable. Changes are a minor bugfix when handling the internal queue when animation was set to <code>false</code> and an update of <a href="http://www.prototypejs.org/">Prototype</a> to the latest version (1.6.0.2)<br style="clear: both;" /></p>
<p><span id="more-1463"></span></p>
<h2>What is <code>jsProgressBarHandler</code> all about?</h2>
<div class="BramusBlock">
<p><code>jsProgressBarHandler</code> is a <strong>Javascript based Percentage Bar / Progress Bar</strong>, inspired upon <a href="http://www.webappers.com/2007/07/31/webappers-simple-ajax-progress-bar-with-css/">JS-code by WebAppers</a> and <a href="http://www.barenakedapp.com/the-design/displaying-percentages">CSS-code by Bare Naked App</a>. <a href="http://www.bram.us/2007/08/02/my-javascript-non-ajax-progress-bar-class-jsprogressbarhandler/">Version 0.1</a> was a mere rewrite to <a href="http://www.prototypejs.org/">PrototypeJS</a> of the version by WebAppers whilst version 0.2 was a full structural rewrite. Version 0.3 builds upon 0.2 by making it all more robust.</p>
</div>
<h2>So, what has changed?</h2>
<div class="BramusBlock">
<p>In version 0.3 an internal animation queuing system was introduced to <code>jsProgressBarHandler</code>, preventing the progressbar from freaking out when multiple simultaneous (viz. on the very same moment) calls to <code>setPercentage()</code> were made. With that queue <code>jsProgressBarHandler</code> will push all percentages on that queue, and process them one by one. Version 0.3.1 is maintenance release to fix an issue with this queue when no animation was used (the bug being that the queue wasn&#8217;t cleared properly). Credits go to <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/#comment-174878">Jamie Chong</a> for spotting this one!</p>
</div>
<h2>Anything else has changed?</h2>
<div class="BramusBlock">
<p>Nopes, except for the fact that the <code>jsProgressBarHandler</code> release now sports Prototype 1.6.0.2 <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>
<h2>Cool, is there a demo?</h2>
<div class="BramusBlock">
<p style="text-align: center;"><a href="http://www.bram.us/demo/projects/jsprogressbarhandler/" title="jsProgressBarHandler Demo"><img id="image963" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/jsprogressbarhandlerdemo.gif" alt="jsProgressBarHandler Demo" /></a></p>
<p>TIP: At the multicolor bar at the bottom, click that <img src="http://www.bram.us/demo/projects/jsprogressbarhandler/images/icons/fill.gif" alt="" />-icon a few times to see the internal queue in effect <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Please note that next to the demo above even an <a href="http://www.bram.us/demo/projects/jsprogressbarhandler/ajaxprogressbar.html">AJAX demo</a> exists!</p>
</div>
<h2>Where can I download it?</h2>
<div class="BramusBlock">
<p>Right here:</p>
<p><download>http://www.bram.us/wordpress;/wp-content/uploads/2008/02/jsprogressbarhandler_031.zip;Download jsProgressBarHandler 0.3.1;</download>
<p class="alert"><strong>WARNING! This version is <a href="http://www.bram.us/2008/11/10/jsprogressbarhandler-033/">outdated</a>!</strong><br />Grab the latest version over at <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">the jsProgressBarHandler Project Page</a></p>
</div>
<h2>Wow, you&#8217;re going to fast: I have a question, I need help, I need more info, how do I configure this thing?</h2>
<div class="BramusBlock">
<p>Don&#8217;t worry my friend, there&#8217;s <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">a full page here on bram.us devoted to <code>jsProgressBarHandler</code> where you can find all info about it</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/02/20/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-031/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>My Javascript (non-AJAX) Progress / Percentage Bar : jsProgressBarHandler 0.3</title>
		<link>http://www.bram.us/2008/02/01/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-03/</link>
		<comments>http://www.bram.us/2008/02/01/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-03/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 21:54:17 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Another Dailie]]></category>
		<category><![CDATA[Bramus!]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2008/02/01/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-03/</guid>
		<description><![CDATA[A new version of jsProgressBarHandler is avaiable. Changes are a bugfix to making multiple barImages properly work with Safari and addition of an internal queue. What is jsProgressBarHandler all about? jsProgressBarHandler is a Javascript based Percentage Bar / Progress Bar, &#8230; <a href="http://www.bram.us/2008/02/01/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-03/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img id="image1021" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/progress.gif" alt="jsprogressbarhandlerajax.jpg" style="display: block; float: left; margin: 0 10px 10px 0;" />A new version of <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/"><code>jsProgressBarHandler</code></a> is avaiable. Changes are a bugfix to making multiple barImages properly work with Safari and addition of an internal queue.<br style="clear: both;" /></p>
<p><span id="more-1421"></span></p>
<h2>What is <code>jsProgressBarHandler</code> all about?</h2>
<div class="BramusBlock">
<p><code>jsProgressBarHandler</code> is a <strong>Javascript based Percentage Bar / Progress Bar</strong>, inspired upon <a href="http://www.webappers.com/2007/07/31/webappers-simple-ajax-progress-bar-with-css/">JS-code by WebAppers</a> and <a href="http://www.barenakedapp.com/the-design/displaying-percentages">CSS-code by Bare Naked App</a>. <a href="http://www.bram.us/2007/08/02/my-javascript-non-ajax-progress-bar-class-jsprogressbarhandler/">Version 0.1</a> was a mere rewrite to <a href="http://www.prototypejs.org/">PrototypeJS</a> of the version by WebAppers whilst version 0.2 was a full structural rewrite. Version 0.3 builds upon 0.2 by making it all more robust.</p>
</div>
<h2>So, what has changed?</h2>
<div class="BramusBlock">
<p>Internally <code>jsProgressBarHandler</code> now uses a queue on which it stacks the percentages to move to. This prevents the progressbar from freaking out when multiple simultaneous (viz. on the very same moment) calls to <code>setPercentage()</code> are made. <code>jsProgressBarHandler</code> will push all percentages on that queue, and process them one by one.</p>
</div>
<h2>Anything else has changed?</h2>
<div class="BramusBlock">
<p>Yes! <code>jsProgressBarHandler</code> user Chris <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/#comment-153384">brought to my attention</a> that the multiple <code>barImages</code> option did not work properly in Safari. Reason was that Safari handles the <code>object.constructor</code> (<em>which <code>jsProgressBarHandler</code> uses to determine if a parameter is an <code>Array</code> or not</em>) differently than other browsers. (FYI: <a href="http://www.bram.us/2008/02/01/javascript-isarray-check-if-an-elementobject-is-an-array/">A working version of <code>isArray()</code> has been posted</a> on bram.us by now <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</p>
</div>
<h2>Cool, is there a demo?</h2>
<div class="BramusBlock">
<p style="text-align: center;"><a href="http://www.bram.us/demo/projects/jsprogressbarhandler/" title="jsProgressBarHandler Demo"><img id="image963" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/jsprogressbarhandlerdemo.gif" alt="jsProgressBarHandler Demo" /></a></p>
<p>TIP: At the multicolor bar at the bottom, click that <img src="http://www.bram.us/demo/projects/jsprogressbarhandler/images/icons/fill.gif" alt="" />-icon a few times to see the internal queue in effect <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Please note that next to the demo above even an <a href="http://www.bram.us/demo/projects/jsprogressbarhandler/ajaxprogressbar.html">AJAX demo</a> exists!</p>
</div>
<h2>Where can I download it?</h2>
<div class="BramusBlock">
<p>Right here:</p>
<p><download>http://www.bram.us/wordpress;/wp-content/uploads/2008/02/jsprogressbarhandler_030.zip;Download jsProgressBarHandler 0.3.0;</download></p>
<p class="alert"><strong>WARNING! This version is <a href="http://www.bram.us/2008/02/20/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-031/">outdated</a>!</strong><br />Grab the latest version over at <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">the jsProgressBarHandler Project Page</a></p>
</div>
<h2>Wow, you&#8217;re going to fast: I have a question, I need help, I need more info, how do I configure this thing?</h2>
<div class="BramusBlock">
<p>Don&#8217;t worry my friend, there&#8217;s <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">a full page here on bram.us devoted to <code>jsProgressBarHandler</code> where you can find all info about it</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2008/02/01/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-03/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My Maintenance : jsProgressBarHandler 0.2.1</title>
		<link>http://www.bram.us/2007/12/21/my-maintenance-jsprogressbarhandler-021/</link>
		<comments>http://www.bram.us/2007/12/21/my-maintenance-jsprogressbarhandler-021/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 23:49:27 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Bramus!]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2007/12/21/my-maintenance-jsprogressbarhandler-021/</guid>
		<description><![CDATA[Ever since version 0.2 of jsProgressBarHandler hit the net earlier this week some extra ideas popped up in my head. New in this version are the ability to show/hide the percentage text and the ability to define which images to &#8230; <a href="http://www.bram.us/2007/12/21/my-maintenance-jsprogressbarhandler-021/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/12/jsprogressbarhandler.gif' alt='jsprogressbarhandler.gif' style='display: block; float: left; margin: 0 10px 10px 0' />Ever since version 0.2 of  <code><a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">jsProgressBarHandler</a></code> hit the net <a href="http://www.bram.us/2007/12/14/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-02/">earlier this week</a> some extra ideas popped up in my head. New in this version are the ability to <strong>show/hide the percentage text</strong> and the ability to <strong>define which images to use</strong> (<em>did anyone say multi-colored bars?!</em>)</p>
<p><span id="more-1330"></span></p>
<h2 style="margin-top: 50px;"><a name="what"></a>What is <code>jsProgressBarHandler </code>?</h2>
<div class="BramusBlock">
<p><code><a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">jsProgressBarHandler</a></code> is a <strong>Javascript based Percentage Bar / Progress Bar</strong>, inspired upon <a href="http://www.webappers.com/2007/07/31/webappers-simple-ajax-progress-bar-with-css/">JS-code by WebAppers</a> and <a href="http://www.barenakedapp.com/the-design/displaying-percentages">CSS-code by Bare Naked App</a>. Next to a structural rewrite of the WebAppers code, this javascript progress bar can easily be extended and tweaked just by setting a few parameters.</p>
</div>
<h2>What has changed?</h2>
<div class="BramusBlock">
<p>This version extends upon <a href="http://www.bram.us/2007/12/14/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-02/">the changes made in version 0.2</a>. As the need for setting the background-images (viz. the barimages) to use was there, this has moved from the (previously mandatory) CSS file into the <code>jsProgressBarHandler</code> core by setting the <code>barImage</code> option to a path to an image. Now, I&#8217;ve taken this a step further and made it possible to define an array of images, enabling you to <strong>create multi-colored bars</strong>.</p>
<p>Multi-colored progressbars are quite simple: if you define 3 images in your array, the first 33% will show the first image, the second 33% (ranging from 34% up to 66%) will show the second image and the last 33% (67% up to 100%) will show the third (and last image). One can define as many images as he wants, <code>jsProgressBarHandler</code> will adjust itself.</p>
<p>The other addition that made it into this release is the ability to <strong>hide the text with the percentage</strong> (which appears next to the progressbar) by manipulating the <code>showText</code> option. Tiny change indeed, yet upon request.</p>
</div>
<h2>Cool, is there a demo?</h2>
<div class="BramusBlock">
<p style="text-align: center;"><a href="http://www.bram.us/demo/projects/jsprogressbarhandler/" title="jsProgressBarHandler Demo"><img id="image963" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/jsprogressbarhandlerdemo.gif" alt="jsProgressBarHandler Demo" /></a></p>
<p>Note that next to the demo above isn&#8217;t the only one &#8230; even an <a href="http://www.bram.us/demo/projects/jsprogressbarhandler/ajaxprogressbar.html">AJAX demo</a> exists!</p>
</div>
<h2>Where can I download it?</h2>
<div class="BramusBlock">
<p>Right here:</p>
<p><download>http://www.bram.us/wordpress;/wp-content/uploads/2007/12/jsprogressbarhandler_021.zip;Download jsProgressBarHandler 0.2.1;</download></p>
<p class="alert"><strong>WARNING! This version is <a href="http://www.bram.us/2008/02/01/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-03/">outdated</a>!</strong><br />Grab the latest version over at <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">the jsProgressBarHandler Project Page</a></p>
</div>
<h2>Wow, you&#8217;re going to fast: I have a question, I need help, I need more info, how do I configure this thing?</h2>
<div class="BramusBlock">
<p>Don&#8217;t worry my friend, there&#8217;s <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">a full page here on bram.us devoted to <code>jsProgressBarHandler</code> where you can find all info about it</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2007/12/21/my-maintenance-jsprogressbarhandler-021/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>My Javascript (non-AJAX) Progress / Percentage Bar : jsProgressBarHandler 0.2</title>
		<link>http://www.bram.us/2007/12/14/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-02/</link>
		<comments>http://www.bram.us/2007/12/14/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-02/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 00:34:29 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Bramus!]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2007/12/14/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-02/</guid>
		<description><![CDATA[I seem to be in a scripting mood this week, as jsProgressBarHandler has been updated to version 0.2. This version is a total rewrite of version 0.1 making it even better! What is jsProgressBarHandler all about? jsProgressBarHandler is a Javascript &#8230; <a href="http://www.bram.us/2007/12/14/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-02/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img id="image1021" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/progress.gif" alt="jsprogressbarhandlerajax.jpg" style="display: block; float: left; margin: 0 10px 10px 0;" />I seem to be in a scripting mood <a href="http://www.bram.us/2007/12/13/tinymce-css-classes-and-ids-plugin-bramus_cssextras-050-hits-the-net/">this week</a>, as <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/"><code>jsProgressBarHandler</code></a> has been updated to version 0.2. This version is a total rewrite of version 0.1 making it even better!<br style="clear: both;" /></p>
<p><span id="more-1319"></span></p>
<h2>What is <code>jsProgressBarHandler</code> all about?</h2>
<div class="BramusBlock">
<p><code>jsProgressBarHandler</code> is a <strong>Javascript based Percentage Bar / Progress Bar</strong>, inspired upon <a href="http://www.webappers.com/2007/07/31/webappers-simple-ajax-progress-bar-with-css/">JS-code by WebAppers</a> and <a href="http://www.barenakedapp.com/the-design/displaying-percentages">CSS-code by Bare Naked App</a>. <a href="http://www.bram.us/2007/08/02/my-javascript-non-ajax-progress-bar-class-jsprogressbarhandler/">Version 0.1</a> was a mere rewrite to <a href="http://www.prototypejs.org/">PrototypeJS</a> of the version by WebAppers whilst version 0.2 is a full structural rewrite.</p>
</div>
<h2>So, what has changed?</h2>
<div class="BramusBlock">
<p>Internally <code>jsProgressBarHandler</code> now consists of 2 classes: a <code>jsProgressBar</code>-class which is a class defining a progress bar and a <code>jsProgressBarHandler</code>-class which scans your HTML page for <code>span</code> elements with the <code>progressBar</code>-className and <em>automagically</em> creates progressbars of them. The sepration into two classes enables you, the user, to manually creating new <code>jsProgressBar</code> instances (viz. progress bars) on the fly! The automatic creation of progress bars can even totally be disabled with the ease of setting a simple parameter named <code>autoHook</code> to <code>false</code>.</p>
</div>
<h2>Anything else has changed?</h2>
<div class="BramusBlock">
<p>Yes! It even now is possible to set some options when creating progress bars (<em>note that when using <code>autoHook</code> all the progressbars will use the same default options</em>). The options one can set are <code>width</code>, <code>height</code> and <code>animate</code>. The first two make the creation of bigger and/or smaller progress bars even more easy than before. The <code>animate</code> option enables/disables the use of animation (<em>viz. should a change in percentage <em>slide</em> to the new percentage or directly be applied?</em>)</p>
</div>
<h2>Cool, is there a demo?</h2>
<div class="BramusBlock">
<p style="text-align: center;"><a href="http://www.bram.us/demo/projects/jsprogressbarhandler/" title="jsProgressBarHandler Demo"><img id="image963" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/jsprogressbarhandlerdemo.gif" alt="jsProgressBarHandler Demo" /></a></p>
<p>Note that next to the demo above isn&#8217;t the only one &#8230; even an <a href="http://www.bram.us/demo/projects/jsprogressbarhandler/ajaxprogressbar.html">AJAX demo</a> exists!</p>
</div>
<h2>Where can I download it?</h2>
<div class="BramusBlock">
<p>Right here:</p>
<p><download>http://www.bram.us/wordpress;/wp-content/uploads/2007/12/jsprogressbarhandler_02.zip;Download jsProgressBarHandler 0.2;</download></p>
<p class="alert"><strong>WARNING! This version is <a href="http://www.bram.us/2007/12/21/my-maintenance-jsprogressbarhandler-021/">outdated</a>!</strong><br />Grab the latest version over at <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">the jsProgressBarHandler Project Page</a></p>
</div>
<h2>Wow, you&#8217;re going to fast: I have a question, I need help, I need more info, how do I configure this thing?</h2>
<div class="BramusBlock">
<p>Don&#8217;t worry my friend, there&#8217;s <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/">a full page here on bram.us devoted to <code>jsProgressBarHandler</code> where you can find all info about it</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2007/12/14/my-javascript-non-ajax-progress-percentage-bar-jsprogressbarhandler-02/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>My Lazy Load &#8211; Delayed Javascript Image Loader</title>
		<link>http://www.bram.us/2007/09/11/my-lazy-load/</link>
		<comments>http://www.bram.us/2007/09/11/my-lazy-load/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 12:20:06 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Another Dailie]]></category>
		<category><![CDATA[Bramus!]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<guid isPermaLink="false">http://www.bram.us/2007/09/11/my-lazy-load/</guid>
		<description><![CDATA[I hereby load upon thee JS_BRAMUS.lazierLoad, a Javascript Image Lazy Loader for use the latest PrototypeJS beta release (1.6.0_r0) (which holds a brand spanking new document.viewport Object which &#8220;lets you calculate the dimensions and position of the browser&#8217;s viewport&#8221;). lazierLoad &#8230; <a href="http://www.bram.us/2007/09/11/my-lazy-load/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.bram.us/wordpress/wp-content/uploads/2007/09/lazy.gif' alt='' style="display: block; float: left; margin: 0 10px 10px 0;" />I hereby load upon thee <a href="http://www.bram.us/projects/js_bramus/lazierload/">JS_BRAMUS.lazierLoad, a Javascript Image Lazy Loader</a> for use <a href="http://www.prototypejs.org/2007/8/15/prototype-1-6-0-release-candidate">the latest PrototypeJS beta release (1.6.0_r0)</a> (which holds a brand spanking new <code>document.viewport</code> Object which &ldquo;<em>lets you <strong>calculate the dimensions and position of the browser&#8217;s viewport</strong></em>&rdquo;).<br style="clear: both;" /></p>
<p><span id="more-1104"></span></p>
<p><a href="http://www.bram.us/projects/js_bramus/lazierload/"><code>lazierLoad</code></a> automatically hooks itself to the page, finds all images and only loads those appearing &ldquo;<a href="http://en.wikipedia.org/wiki/Above_the_fold">above the fold</a>&rdquo; resulting in <strong>faster page loads</strong> as the images not located in the <a href="http://en.wikipedia.org/wiki/Viewport">viewport</a>, are not loaded until they appear within it (<em>viz. when the user scrolls down</em>).</p>
<p>The idea for <code>lazierLoad</code> was inspired upon <a href="http://www.appelsiini.net/projects/lazyload/">Lazy Load</a> (which is built for use with jQuery), yet the code differs quite a lot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2007/09/11/my-lazy-load/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My Javascript (non-AJAX) Progress Bar Class : jsProgressBarHandler, now with Ajax!</title>
		<link>http://www.bram.us/2007/08/21/my-javascript-non-ajax-progress-bar-class-jsprogressbarhandler-now-with-ajax/</link>
		<comments>http://www.bram.us/2007/08/21/my-javascript-non-ajax-progress-bar-class-jsprogressbarhandler-now-with-ajax/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 18:57:06 +0000</pubDate>
		<dc:creator>Bramus!</dc:creator>
				<category><![CDATA[Another Dailie]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[JS_BRAMUS]]></category>
		<category><![CDATA[Projects]]></category>
		<guid isPermaLink="false">http://www.bram.us/2007/08/21/my-javascript-non-ajax-progress-bar-class-jsprogressbarhandler-now-with-ajax/</guid>
		<description><![CDATA[Just to inform everyone that jsProgressBarHandler now has a second example where 5 Ajax calls are made and the progress bar is updated accordingly. Nothing spectacular imo as none of the jsProgressBarHandler source was changed (the progress bar still is &#8230; <a href="http://www.bram.us/2007/08/21/my-javascript-non-ajax-progress-bar-class-jsprogressbarhandler-now-with-ajax/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img id="image1021" src="http://www.bram.us/wordpress/wp-content/uploads/2007/08/jsprogressbarhandlerajax.jpg" alt="jsprogressbarhandlerajax.jpg" style="display: block; float: left; margin: 0 10px 10px 0;" />Just to inform everyone that <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/"><code>jsProgressBarHandler</code></a> now has <a href="http://www.bram.us/demo/projects/jsprogressbarhandler/ajaxprogressbar.html">a second example where 5 Ajax calls are made and the progress bar is updated accordingly</a>. Nothing spectacular imo as none of the <code>jsProgressBarHandler</code> source was changed (<em>the progress bar still is no Ajax at all</em>), only helping out <a href="http://www.bram.us/projects/js_bramus/jsprogressbarhandler/#comment-74604">Chris who asked for a likewise example</a> <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Hope it helps some (many?) of you out there <img src='http://www.bram.us/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bram.us/2007/08/21/my-javascript-non-ajax-progress-bar-class-jsprogressbarhandler-now-with-ajax/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

