<?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>zahnster &#187; JavaScript</title>
	<atom:link href="http://zahnster.com/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://zahnster.com</link>
	<description>my name's jade. i'm a child of the internet.</description>
	<lastBuildDate>Tue, 27 Apr 2010 04:04:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A dose of reality with Slickspeed</title>
		<link>http://zahnster.com/javascript/a-dose-of-reality-with-slickspeed</link>
		<comments>http://zahnster.com/javascript/a-dose-of-reality-with-slickspeed#comments</comments>
		<pubDate>Sat, 17 Jan 2009 06:46:05 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://zahnster.com/?p=139</guid>
		<description><![CDATA[I&#8217;ve been a fan of the Slickspeed Selectors test for a while &#8211; in all honesty it&#8217;s probably the coolest thing Mootools has released (and this isn&#8217;t a knock on their js framework). The Slickspeed selectors test does everything right &#8211; easy, friendly open-source code which is stupid easy to customize. The tests are extremely [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a fan of the <a href="http://mootools.net/slickspeed">Slickspeed Selectors test</a> for a while &#8211; in all honesty it&#8217;s probably the coolest thing <a href="http://mootools.net">Mootools</a> has released (and this isn&#8217;t a knock on their js framework). The Slickspeed selectors test does everything right &#8211; easy, friendly open-source code which is stupid easy to customize. The tests are extremely useful and can give you some amazing insight on how the framework you&#8217;re using for your app compares to the other ones that are out there (and you can even test on your own code!).</p>
<p>After a discussion at work today about how expensive Prototype&#8217;s $$ function is in the lovely Internet Explorer, I decided to run the Slickspeed tests in IE7 &#8211; something which I&#8217;m a little embarrassed to admit I&#8217;ve never done before. I knew the results would be bad &#8211; but seeing just how bad they were made my stomach turn. It also piqued my curiosity to dig into this some more.</p>
<p>With the preset settings and my own custom frameworks (I chose Prototype 1.6.0.2, 1.6.0.3, and jQuery 1.3), both Prototype&#8217;s came in at over 2 seconds (2142 and 2169ms, respectively). Granted, I&#8217;m running my IE&#8217;s on a VM powered by a nearly 2 year old MacBook, but an &#8216;average&#8217; website visitor is probably powered by something on a similar level.</p>
<p><span id="more-139"></span>To pour some salt in the jQuery vs Prototype war, jQuery&#8217;s results are in a whole &#8216;nother division, coming in at 386ms. While it really burns me to knock on Prototype, I can&#8217;t look at the framework and not see it&#8217;s downward spiral into disrepair. It&#8217;s only glimmer of hope is the strange fact that 1.6.0.3 performs extremely well in Safari, but at 5-7% of the market, that really don&#8217;t mean squat. Not when IE7 is that pathetic.</p>
<p>Deciding to dig a bit deeper, and take advantage of the true customization allowances of the Slickspeed tester, I decided to actually use some real code from the Zenbe app. So I took the source code of one of the frames, changed the selectors list to mimic some of the ones we call frequently, and ran the test again.</p>
<p>The results were similar, but on a slightly smaller scale (the default testing document they provide is somewhat heavy, and does include a lot of CSS3 selectors which most devs never use). However, the ratio of difference between Prototype and jQuery is astonishing (like 400% faster astonishing), and even moreso is the fact that in IE7, 1.6.0.2 outperforms 1.6.0.3.</p>
<p>I&#8217;m not going to get into my thoughts on what all of this means for Prototype, that&#8217;s another blog post (or two&#8230;), but I hope this post encourages developers to try Slickspeed out on their own site, and see how your JavaScript framework is treating you compared to others.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/javascript/a-dose-of-reality-with-slickspeed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Case for Canvas</title>
		<link>http://zahnster.com/javascript/a-case-for-canvas</link>
		<comments>http://zahnster.com/javascript/a-case-for-canvas#comments</comments>
		<pubDate>Wed, 07 Jan 2009 05:22:35 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[Canvas]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://zahnster.com/?p=124</guid>
		<description><![CDATA[Anyone who follows me on Twitter is probably aware that for the last few months, I&#8217;ve been getting my feet wet with Canvas drawing.
For those who aren&#8217;t familiar, Canvas is an HTML5 element which enables you to do script-based drawing, specifically Javascript. While not natively supported by the IE&#8217;s, the wonderful Explorer Canvas script works [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone who follows me on Twitter is probably aware that for the last few months, I&#8217;ve been getting my feet wet with Canvas drawing.</p>
<p>For those who aren&#8217;t familiar, <a href="https://developer.mozilla.org/en/HTML/Canvas">Canvas is an HTML5 element</a> which enables you to do script-based drawing, specifically Javascript. While not natively supported by the IE&#8217;s, the wonderful <a href="http://excanvas.sourceforge.net/">Explorer Canvas</a> script works very well in converting Canvas drawing to the IE-supported VML. While I hear you can&#8217;t do everything with Explorer Canvas, most drawing, coloring, and animations will work just fine.</p>
<p>After getting around the initial mind-warp of drawing with script, Canvas has proven itself to be flexible, fast, and fun, and although it&#8217;s very new and not (officially) globally supported, I would recommend that anyone who&#8217;s considering adopting it to do so.<span id="more-124"></span></p>
<p>There&#8217;s quite a few reasons I suggest this. First, it will lighten the load on the client-side quite a bit. You end up with some seriously simplified CSS (there&#8217;s no browser inconsistencies with canvas drawing), and a lot less images, which saves both bandwidth and http requests. Gradients, shadows, transparency, and rounded corners become nothing but an afterthought to develop (screw sliding doors), and theming becomes as easy as changing some hex values (or rgb, or hsv&#8230; it&#8217;s easy like that).</p>
<p>Without giving too much away, Canvas is going to be a big part of some upcoming releases at Zenbe, and I couldn&#8217;t be more stoked about it. It&#8217;s done very well in the tests so far, and I&#8217;m looking forward to being on the bleeding-edge of client-side web development. Officially and thoroughly.</p>
<p>Expect to hear more Canvas stuff from me in the upcoming months. After I wrap up my work with it at Zenbe, I plan on continuing development with it, releasing some core classes open-source to help gain support for this extremely powerful drawing framework.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/javascript/a-case-for-canvas/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Javascript Library Wars</title>
		<link>http://zahnster.com/javascript/javascript-framework-wars</link>
		<comments>http://zahnster.com/javascript/javascript-framework-wars#comments</comments>
		<pubDate>Mon, 29 Sep 2008 20:38:05 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://zahnster.com/?p=98</guid>
		<description><![CDATA[Today marks the first day of the Ajax Experience in Boston, MA. I was lucky enough to be able to join up as a volunteer and get in for free (I had come up to Boston for jQuery camp and they were searching out AJE volunteers).
The conference kicked off this morning, and it’s been an [...]]]></description>
			<content:encoded><![CDATA[<p>Today marks the first day of the Ajax Experience in Boston, MA. I was lucky enough to be able to join up as a volunteer and get in for free (I had come up to Boston for jQuery camp and they were searching out AJE volunteers).</p>
<p>The conference kicked off this morning, and it’s been an interesting experience so far. I’ve been assigned to the Breakout 1 room, which this morning hosted the Prototype presenters, Christophe Porteneuve and Andrew Dupont. They were part of this morning’s “developer day” events, where the leaders of some of the main JavaScript libraries (Prototype, jQuery, and Dojo) had 5 hour sessions (side by side) where they introduced their library and explained how you can get the most out of them and contribute to the community.</p>
<p>The ‘hotness’ of jQuery was more prominent than ever this morning, as our room was very very sparsely filled, while the jQuery room, which was the same size, was packed to the brim.</p>
<p>The imbalance of the turnout was clearly noticed by the Prototype speakers, and this brought about some discussion on the differences between the libraries, and the cases for using each. Now, these guys are obviously biased towards Prototype, but what they mentioned was pretty accurate. Basically, they proposed that jQuery is better for simpler web applications, while Prototype is still more robust for creating custom classes and prototypes, and creating your own sub-library. I completely agree with this, as we use Prototype at Zenbe for our very complex, intricate js needs, and the library makes it completely easy and fun to write complex classes.</p>
<p><span id="more-98"></span></p>
<p>The bad thing here (at least for Prototype) is that most web developers are not looking to create super complex JavaScript applications. Most of the time, JavaScript is used to enhance the user experience, adding fancy bells and whistles to make a website faster, smoother, and more interactive.</p>
<p>However, I feel that the complexity issue is not the main reason behind the seemingly mass migration from Prototype to jQuery. A few years ago, jQuery was brand new, contending against the giant which was Prototype. Prototype was the original js library, and once upon a time had almost every front-end developer worth their weight using it. Then jQuery started to gain net buzz, building the strongest web community since Rails. And Prototype was left in the dust.</p>
<p>So, what are the reasons behind this?</p>
<p>The first difference between Prototype’s community and jQuery’s, which the most important and probably the most obvious, is the differences in documentation. jQuery’s documentation is completely brilliant. Their wiki is thorough, accurate, and every function has a series of examples showing how to use it. The documentation really does help ’sell’ the library, providing new users with a wide array of friendly, interactive solutions that are not only slick, but very minimalistic and they help make the developer feel empowered.</p>
<p>On the other hand, Prototype’s API is ‘ok’ at best. The biggest fault with Prototype is the lack of examples. This is a big turn off and frustration for new adopters trying to figure out the language &#8211; maybe it’s just me, but seeing sample code is the #1 most important thing I count on during the learning phase of programming. No examples adds ambiguity for novice developers (and sometimes even pro ones) and hinders adoption of a new library. You can’t even compare the two API’s &#8211; jQuery’s clearly won the cake.</p>
<p>Another reason people are flocking to jQuery has to do with the user community. I’ve heard that Prototype has a plugin community, but you would never know it by looking on the website. jQuery’s use of keeping the base code as minimalistic as possible, and allowing individual developers to release plugins not only fosters a strong community, but it provides the next selling point of jQuery over Prototype: file size.</p>
<p>By itself, jQuery (compressed to the max) is 15k. Keep in mind, this includes some powerful (yet simple) methods for creating animation. If you were to get the same functionality in Prototype, not only would you need Prototype itself, but you would need to use Scriptaculous as well. Combined and compressed to the max, they rank in at a relatively whopping 50k. Relatively speaking, that’s a massive difference, considering the two libraries do the same things.</p>
<p>One last point I am going to bring up is about the progress of the library development. During the Prototype presentation, the developers admitted that the progress on Prototype has been hindered by busier than normal ‘day jobs’. I can’t hold this against them, nor would I &#8211; life happens, I know this as well as anyone. However, it still affects the product. I have been completely frustrated by the lack of development that has been going on with Scriptaculous (moreso than prototype) &#8211; the animation library has obvious shortcomings (slideup/down needs a container div? blindup/down forces overflow: visible &#8211; which funks up ie), and when Tomas Fuchs Skyped into the conference today to talk about how little the library has been worked on in the last year &#8211; well that was a huge let down. jQuery has stomped all over this with rapid development, and it’s progress is clearly paying off, and the recent news of them being adoped by Nokia and Microsoft is only going to help make their development cycle faster and more accurate.</p>
<p>So, with all respect in the world towards Prototype, they need to step it up quite a bit if they want to stay competitive with jQuery in the long run. I’m afraid that if they don’t take some pretty big steps to rebuild the community and actually come out with new releases, they might turn into a thing of the past.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/javascript/javascript-framework-wars/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Auto Detecting Nav Hilighter with jQuery</title>
		<link>http://zahnster.com/javascript/auto-detecting-nav-hilighter-with-jquery</link>
		<comments>http://zahnster.com/javascript/auto-detecting-nav-hilighter-with-jquery#comments</comments>
		<pubDate>Tue, 26 Feb 2008 17:35:37 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://rauenzahner.com/javascript/auto-detecting-nav-hilighter-with-jquery/</guid>
		<description><![CDATA[More jQuery love is going down&#8230; it seems to be the theme of the month.
This last weekend I picked up the &#8216;jQuery in Action&#8217; book and it really opened my eyes to just how cool jQuery is. I mean, I was pretty stoked about it already, but now I want to take it out to [...]]]></description>
			<content:encoded><![CDATA[<p>More jQuery love is going down&#8230; it seems to be the theme of the month.</p>
<p>This last weekend I picked up the &#8216;jQuery in Action&#8217; book and it really opened my eyes to just how cool jQuery is. I mean, I was pretty stoked about it already, but now I want to take it out to dinner and maybe make out with it a little in the back of my car.</p>
<p>So, reading the book, I learned just how powerful their wrapper element is. A lot of it&#8217;s css-based, so it&#8217;s easy for a front-end dev type like myself to catch up on, and then it mixes in simple regular expressions and has() checks and .. my mind is blown.</p>
<p><span id="more-64"></span></p>
<p>I wrote this little function last night to both test some advanced wrapper selectors and solve a practical and common goal: hilighting the navigational item of the active page. Before, we&#8217;ve done all types of things to accomplish this goal, mostly dealing with writing some sort of server-side code that detects the page and does an if statement to add a class to the markup.</p>
<p>It would always get kind of messy.</p>
<p>But no more! Here&#8217;s the function that turns that former headache into a simple JS function call:<br />
<code><br />
function activateNav(nav) {<br />
// split url and get page (or lack of page - index)<br />
var url = document.location.href;<br />
var urlSplit = new Array();<br />
urlSplit = url.split('/');<br />
var page = urlSplit[urlSplit.length-1];</code></p>
<p>// catch for root (index)<br />
if(page == &#8221;) {<br />
page = &#8216;index&#8217;;<br />
}</p>
<p>// detect location of nav items and classify right one<br />
$(nav+&#8217; a[href*='+page+']&#8216;).parent().addClass(&#8216;active&#8217;);<br />
}</p>
<p>Breaking it down into detail, the code above gets the page from the url (the string split on the &#8216;/&#8217; character and pulling the last array item provides a consistent way of getting only the page file name) and then checks all of the nav link href attributes to see where they&#8217;re linking to. If the page name matches any part of the link target, the javascript will add an active class to the element containing the link.</p>
<p>Natrually, this is set up for a list-type nav. Adding the active class to the parent tag and not the anchor itself may or may not be the smartest thing to do, but it made the most sense to me at the time (since 99% of my navs are in lists).</p>
<p>As this code evolves I&#8217;m sure it&#8217;ll change, but that&#8217;s part of the beauty of jQuery &#8211; it feels so natural to scale.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/javascript/auto-detecting-nav-hilighter-with-jquery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Javascript Frameworks</title>
		<link>http://zahnster.com/javascript/on-javascript-frameworks</link>
		<comments>http://zahnster.com/javascript/on-javascript-frameworks#comments</comments>
		<pubDate>Fri, 08 Feb 2008 05:09:38 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://rauenzahner.com/javascript/on-javascript-frameworks/</guid>
		<description><![CDATA[Hello. I&#8217;m not dead, although I know the site&#8217;s been for some time. This is because life&#8217;s running at 1,000 miles an hour. I&#8217;m getting into my zone at Fox, every day seems to be a bit better, and I&#8217;m working on some pretty cool projects. I&#8217;ve been learning a whole new section of web [...]]]></description>
			<content:encoded><![CDATA[<p>Hello. I&#8217;m not dead, although I know the site&#8217;s been for some time. This is because life&#8217;s running at 1,000 miles an hour. I&#8217;m getting into my zone at Fox, every day seems to be a bit better, and I&#8217;m working on some pretty cool projects. I&#8217;ve been learning a whole new section of web development, and my exploration into JavaScript continues, but on a whole new level.</p>
<p>At Fox, now I have to think more than ever about file size, code efficiency, flexibility, and scalability. Ever since I&#8217;ve been &#8220;into&#8221; JavaScript I&#8217;ve been a fan of the Prototype framework. And why not? It&#8217;s solid, efficient, and the footprint&#8230; isn&#8217;t that bad. Coupled with Scriptaculous, it&#8217;s a powerful set of tools for any kind of JavaScript / Ajax functionality.</p>
<p><span id="more-63"></span></p>
<p>However, I&#8217;ve always had my reservations about this combo. First, Prototype is pretty useless in any kind of animation work on it&#8217;s own. Chances are, if you&#8217;re using Prototype, you&#8217;re using Scriptaculous, and they&#8217;re not exactly the lightest loads in the world. Also, not to knock on Thomas Fuchs, who is a brilliant JS developer, but the Scriptaculous website / documentation is poor at best. I&#8217;ve stumbled through the framework for 1+ years and still struggle to make my way through that site for any sort of a decent API. Prototype&#8217;s, by contrast, is beautiful.</p>
<p>But what about the alternatives? God knows there are plenty, but are there actually any good ones? There&#8217;s Spry, Mootools, Mochikit, Rico&#8230; the list goes on. Each has it&#8217;s advantages and disadvantages, but none of these I&#8217;ve really felt comfortable as using as a &#8220;Prototype replacement.&#8221;</p>
<p>But then there&#8217;s Jquery, and for the first time I&#8217;m taking notice of this powerful little framework.</p>
<p>The idea is simple &#8211; keep the base footprint light, and make mini &#8216;plugins&#8217; for additional functionality. It allows for excellent customization for any project without having 100k+ of JavaScript. The framework also allows for chainability, which my quasi-developer head can barely wrap around, but keeps the lines of code written to a bare minimum (and somewhat elegant if I do say so). The framework also seems to have high standards for their plugin development, which leaves me confident that I am getting code that is solid through all standard client environments. All this, coupled with their basic yet functional Drupal installation of a website allow me to comfortably leave Prototype behind (sorry, guys).</p>
<p>It had a good run.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/javascript/on-javascript-frameworks/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Another JavaScript Release</title>
		<link>http://zahnster.com/javascript/another-javascript-release</link>
		<comments>http://zahnster.com/javascript/another-javascript-release#comments</comments>
		<pubDate>Fri, 24 Aug 2007 16:39:15 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://zahnster.com/?p=41</guid>
		<description><![CDATA[Even though this was technically the first bit of JavaScript I developed, it&#8217;s my second official release. It&#8217;s a knock-off of the Coda site effect, first developed for iFeedFish, and recently it&#8217;s been used on an up-and-coming site I&#8217;ve been developing at work. Reusing the code has provided me with the perfect excuse to modularize [...]]]></description>
			<content:encoded><![CDATA[<p>Even though this was technically the first bit of JavaScript I developed, it&#8217;s my second official release. It&#8217;s a knock-off of the <a href="http://www.panic.com/coda">Coda</a> site effect, first developed for <a href="http://www.ifeedfish.com">iFeedFish</a>, and recently it&#8217;s been used on an up-and-coming site I&#8217;ve been developing at work. Reusing the code has provided me with the perfect excuse to modularize it, document it, and now you can own the effect yourself!</p>
<p>I&#8217;m calling it PageSlide JS, and it&#8217;s proof positive once again that I am super awesome at naming these things. Just like with SmoothScroll, this is being released under the MIT license, so you can do whateverthehell you want with it. Unlike SmoothScroll, I actually have a mini-site for it up and running. You can find that at <a href="http://pageslide.ifeedfish.com">http://pageslide.ifeedfish.com</a>.</p>
<p><span id="more-41"></span></p>
<p>On the site there are usage instructions, samples, and even a writeup for a weird Safari bug I encountered when implementing it.</p>
<p>This bit of software requires both the <a href="http://prototypejs.org">Prototype JS</a> library as well as <a href="http://script.aculo.us">Scriptaculous</a>.</p>
<p>Enjoy, and please do leave feedback if you manage to do interesting things with it!</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/javascript/another-javascript-release/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SmoothScrollJS</title>
		<link>http://zahnster.com/javascript/smoothscrolljs</link>
		<comments>http://zahnster.com/javascript/smoothscrolljs#comments</comments>
		<pubDate>Wed, 08 Aug 2007 04:08:59 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://zahnster.com/?p=38</guid>
		<description><![CDATA[Recently, I&#8217;ve started digging into JavaScript, which, for the most part is foreign territory. JavaScript is a very unique language &#8211; it&#8217;s come from the gutters of the proprietary &#8216;web 1.0&#8242; to become the shining light of the new &#8216;accessible&#8217; web. It&#8217;s also a language that I&#8217;ve not really been good with &#8211; most of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve started digging into JavaScript, which, for the most part is foreign territory. JavaScript is a very unique language &#8211; it&#8217;s come from the gutters of the proprietary &#8216;web 1.0&#8242; to become the shining light of the new &#8216;accessible&#8217; web. It&#8217;s also a language that I&#8217;ve not really been good with &#8211; most of my code is stumbling my way through, getting lucky after a million wrong turns.</p>
<p>However, since the release and adoption of JavaScript libraries, namely Prototype and Scriptaculous, I&#8217;ve finally been able to hop over the JavaScript learning curve. I&#8217;ve been doing more JS code both at work and at home, and creating some pretty cool effects.</p>
<p>So, for the first time ever, I am releasing a piece of code to the world. It&#8217;s being released under the MIT license, so you&#8217;re free to do just about anything with it, and it&#8217;s called SmoothScrollJS. Essentially, it&#8217;s an animated horizontal scroller, with left and right triggers for a smooth scroll effect. You can adjust the width, speed, and &#8217;smoothness&#8217;.</p>
<p><span id="more-38"></span></p>
<p>It also includes a reporting tool, which helps take any guesswork out of the old, &#8216;just how long is the div&#8217; question.</p>
<p>If you would like to check out the demo, go to: <a href="http://sandbox.ifeedfish.com/slider/">http://sandbox.ifeedfish.com/slider/</a></p>
<p>To download the source files, <a href="http://sandbox.ifeedfish.com/slider/slider.zip">click here</a>.</p>
<p>A permanent site is on the way, but the zip includes everything you should need to set something running. Check the readme for instructions for use. The code is an extension of the Prototype library, and needs Prototype 1.5.0 or newer to run.</p>
<p>Also, keep in mind I&#8217;m still pretty new to this JavaScript thing, and I&#8217;m sure there are efficiencies I&#8217;ve missed or ways I could have had cleaner code (and I&#8217;d love to hear about them), but it works cross-platform and it&#8217;s very lightweight.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/javascript/smoothscrolljs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Dumped by JavaScript</title>
		<link>http://zahnster.com/javascript/getting-dumped-by-javascript</link>
		<comments>http://zahnster.com/javascript/getting-dumped-by-javascript#comments</comments>
		<pubDate>Fri, 29 Jun 2007 00:02:36 +0000</pubDate>
		<dc:creator>Zahnster</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://zahnster.com/?p=22</guid>
		<description><![CDATA[Mootools (www.mootools.net) is a promising young javascript animation library. It prides itself on being very light-weight and customizable (you pick the components you want even before you download). It has great animation effects, moreso than Scriptaculous.
Yesterday I started working with the library, and after just a short time I had something awesome looking up and [...]]]></description>
			<content:encoded><![CDATA[<p>Mootools (www.mootools.net) is a promising young javascript animation library. It prides itself on being very light-weight and customizable (you pick the components you want even before you download). It has great animation effects, moreso than Scriptaculous.</p>
<p>Yesterday I started working with the library, and after just a short time I had something awesome looking up and running. I was using the slider effect to collapse and show comments on a blog post.</p>
<p>However, this morning, I decided to add the prototype library because I needed to do some AJAX work.</p>
<p><span id="more-22"></span></p>
<p>That turned out to be a bad idea, as all of a sudden my mootools effects stopped working, and I was getting very odd JavaScript errors. As soon as I took the prototype.js call out, they went away.</p>
<p>After some digging around on the Internet, I found out that there are conflicts between the two libraries &#8211; and as far as I can tell, there&#8217;s no way around them. Of course there&#8217;s the moo.fx library, and that works to an extent, but there&#8217;s far fewer things you can do with that one (read: you can&#8217;t do the slider).</p>
<p>So, what started as a great morning left me with a sad heartache &#8211; and even though I was able to move over to scriptaculous and accomplish my task, I felt let down by JavaScript libraries in general &#8211; JS has always been my weakness as a programmer, and when the libraries came about they were refreshing.</p>
<p>&#8230;until one dumped me.</p>
]]></content:encoded>
			<wfw:commentRss>http://zahnster.com/javascript/getting-dumped-by-javascript/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
