Friday, March 31, 2006
Using prototype.js v1.4.0
Quick Guide to Prototype
Painless JavaScript Using Prototype
Wednesday, March 29, 2006
Faster DOM Queries
Adaptive Path Essay on Ajax
adaptive path » ajax: a new approach to web applications: "If anything about current interaction design can be called “glamorous,” it’s creating Web applications. After all, when was the last time you heard someone rave about the interaction design of a product that wasn’t on the Web? (Okay, besides the iPod.) All the cool, innovative new projects are online."
Lightbox JS v2.0
Tuesday, March 28, 2006
Prototype PeriodicalExecuter.stop()
PeriodicalExecuter.prototype.registerCallback = function() {All it does is take the current registerCallback function (which creates the actual timer) and stores its returned interval ID which we then use in the new stop function with the native clearInterval method.
this.intervalID = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
}
PeriodicalExecuter.prototype.stop = function() {
clearInterval(this.intervalID);
}
Complete article is here: http://www.metalmadness.co.uk/Blog/archive/2006/01/09/801.aspx
Monday, March 27, 2006
Ajax Timeouts with Prototype
Sunday, March 26, 2006
Scriptaculous - JS Framework
script.aculo.us provides you with easy-to-use, compatible and, ultimately, totally cool JavaScript libraries to make your web sites and web applications fly, Web 2.0 style.
Prototype - JS Framework
Prototype is a JavaScript framework that aims to ease development of dynamic web applications.
Featuring a unique, easy-to-use toolkit for class-driven development and the nicest Ajax library around, Prototype is quickly becoming the codebase of choice for web application developers everywhere.
- Download the latest version (1.4.0)
- Just the .js, please
- Browse the Subversion repository
Checkout with svn co http://dev.rubyonrails.org/svn/rails/spinoffs/prototype
JSMin - JS Compression
JSMin is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation.
ShrinkSafe - JS Compression
ShrinkSafe is a JavaScript "compression" system. It can typically reduce the size of your scripts by a third or more, depending on your programming style.
Many other tools also shrink JavaScript files, but ShrinkSafe is different. Instead of relying on brittle regular expressions, ShrinkSafe is based on Rhino, a JavaScript interpreter. This allows ShrinkSafe to transform the source of a file with much more confidence that the resulting script will function identically to the file you uploaded.