<?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>blog.arithm &#187; Ajax</title> <atom:link href="http://blog.arithm.com/category/ajax/feed/" rel="self" type="application/rss+xml" /><link>http://blog.arithm.com</link> <description>Software.  Politics.  Tinfoil hat conjecture.</description> <lastBuildDate>Fri, 23 Jul 2010 01:12:50 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>mootools madness</title><link>http://blog.arithm.com/2007/07/25/mootools-madness/</link> <comments>http://blog.arithm.com/2007/07/25/mootools-madness/#comments</comments> <pubDate>Wed, 25 Jul 2007 21:59:30 +0000</pubDate> <dc:creator>nurikabe</dc:creator> <category><![CDATA[Ajax]]></category> <category><![CDATA[Bug]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[accordion]]></category> <category><![CDATA[doctype]]></category> <category><![CDATA[mootools]]></category><guid
isPermaLink="false">http://blog.arithm.com/2007/07/25/mootools-madness/</guid> <description><![CDATA[mootools is a spectacular little JavaScript framework, but the &#8220;tricks of the trade&#8221; you need to know to get anything done with it on a timely basis can be a bit maddening.  Here are three examples:The API seems to change randomly, drastically, and constantly.  In v1.00 we could getElementsByClassName(), but seemingly no more [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://mootools.net/">mootools</a> is a spectacular little JavaScript framework, but the &#8220;tricks of the trade&#8221; you need to know to get anything done with it on a timely basis can be a bit maddening.  Here are three examples:</p><ol><li>The API seems to change randomly, drastically, and constantly.  In v1.00 we could <code>getElementsByClassName()</code>, but seemingly no more in v1.11.   Looking ahead at subversion, lots of API changes seem to be coming down the pipe.</li><li>When using the <a
href="http://demos.mootools.net/Accordion">Accordion</a>, don&#8217;t make the mistake of downloading the automatically selected dependencies from the mootools download builder and expect it to work.  The Accordion demo illustrates how to use accordions with &#8220;domready&#8221;, for which you will also need <code>Window.DomReady</code> as well as <code>Element.Selectors</code> and it&#8217;s dependencies.  (To complicate matters, <code>Element.Selectors</code> seems to have become a stand-alone <code>Selectors</code> class.)</li><li>When testing in IE, <strong><em>make sure you have a doctype declared</em></strong>.  eg:<code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</code><p>If not, the accordion will not collapse properly, leaving lower panels filled with vast tracts of dead space, and you with a rising stress level, and even less hair, and all because you can&#8217;t, for the freaking life of you, figure out what is different between your freaking code, and the virtually identical freaking stuff on the freaking mootools site and in the end it turns out it&#8217;s just a freaking missing freaking doctype.</p><p>(I guess IE won&#8217;t fork over DOM support unless once declares the doctype.)</li></ol><p>So, overall, great little JavaScript framework.  But.. Freaky.</p> ]]></content:encoded> <wfw:commentRss>http://blog.arithm.com/2007/07/25/mootools-madness/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </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 (user agent is rejected)
Database Caching 30/39 queries in 0.013 seconds using disk

Served from: blog.arithm.com @ 2010-08-01 06:51:03 -->