Skip to content

@DimitarChristoff /gist:792098

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
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].
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
- 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:
[][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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.