-
Book Overview & Buying
-
Table Of Contents
MooTools 1.3 Cookbook
By :
In exploration of the Web 2.0 frontier, it is quite notable that pages no longer sit, statically starting back at users, waiting silently for the next hyperlink click that will send a clunky HTTP refresh and cause the page to change.
Events are actions, for instance a user clicking on a page element. To Listen for this action we create a listener, which is an action bound to an event. The actions are functions or object methods that are bound to HTML events. These events have keyword definitions, to name a few onClick, onFocus, and onChange.
And now, the main event...events, which include:
Standard and custom HTML events fired by the DOM
Bound listeners that encapsulate kinetic energies waiting to be unleashed
Event chains that are handy, user friendly, and even polite!
Change the font size
Change margin width
Change background colour