Skip to content

Instantly share code, notes, and snippets.

@DimitarChristoff
Created January 23, 2011 14:01
Show Gist options
  • Save DimitarChristoff/792098 to your computer and use it in GitHub Desktop.
Save DimitarChristoff/792098 to your computer and use it in GitHub Desktop.
mootools tag info for stack overflow
![alt text][1]
[MooTools][2] is a compact, modular, Object-Oriented JavaScript framework designed for the intermediate to advanced JavaScript developer. It allows you to write powerful, flexible, and cross-browser code with its elegant, well documented, and [coherent API][3].
**HELLO WORLD EXAMPLE**
window.addEvent("domready", function() {
document.getElements("a").addEvent("click", function(event) {
alert("hello world from link with href " + this.get("href"));
});
});
Before asking a question, make sure you have consulted the [documentation][4] and looked for similar questions already answered.
You should consider posting your problem on [jsfiddle][5] first in order to show context.
If you are looking for a plugin, then visit the [MooTools Plugins Forge Respository][6] first.
If you are just starting with [MooTools][7], then you should read the following guides:
- The [MooTorial][8]
- The "Up the Moo Herd" articles by Mark "Keeto" Obcena of http://www.keetology.com/
- The [Ryan Florence blog][9] and [MooTools 1.3 magazine][10]
- [11 Tips for creating great Class-based MooTools plug-ins ][16]
At time of writing, the current version of MooTools is **1.3.0** with **2.0** in the pipelines with an unknown release date as of yet.
To view the older documentation, visit:
[http://mootools.net/docs/core125/][11] - for 1.2.5
If you need support for MooTools 1.12 via old versions of Joomla, then you can check the old [1.12 documentation][12] as well.
**What MooTools books can you buy?**
- [MooTools Essentials by Aaron Newton][13]
- [MooTools 1.2 Beginner's Guide by J Gube and Garrick Cheung][14]
- [Pro JavaScript with MooTools by Mark Obcena][15]
[1]: http://i.imgur.com/swHw2.png
[2]: http://mootools.net/
[3]: http://mootools.net/docs/core
[4]: http://mootools.net/docs/core
[5]: http://jsfiddle.net/
[6]: http://mootools.net/forge/
[7]: http://mootools.net/
[8]: http://mootorial.com/
[9]: http://ryanflorence.com/
[10]: http://ryanflorence.com/issue-004/
[11]: http://mootools.net/docs/core125/
[12]: http://docs111.mootools.net/
[13]: http://www.amazon.co.uk/MooTools-Essentials-JavaScript-Developement-FirstPress/dp/1430209836/
[14]: http://www.amazon.co.uk/MooTools-1-2-Beginner%2527s-Guide-Gube/dp/1847194583/
[15]: http://www.amazon.com/Pro-JavaScript-MooTools-Mark-Obcena/dp/1430230541/
[16]: http://ryanflorence.com/11-tips-for-creating-great-mootools-plugins/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment