MooTools 1.2 JavaScript library introduction
MooTools 1.2 is a powerful lightweight JavaScript library, specially designed to ease interactive JavaScript development in the Web. In a way, you can think of MooTools as an extension of CSS. For example, CSS allows you to change things when you mouse over them. JavaScript allows you to touch more events (click events, mouseover events, keyboard events...), and MooTools makes it very easy.
In addition, MooTools also has a variety of very good extensions that allow you not only to change the properties of an element, but also allow you to have "morph" (deformation) or "tween" (tween animation) properties. , giving you the ability to create animated effects like the ones you see on my navigation menu (Fdream note: from the original author, also on my homepage).
This is just an example, MooTools allows you to do more. Over the next 30 days, we'll dive into the MooTools library, exploring everything from Arrays and Functions to Fx.Slide, and other bundled plugins.
Reference MooTools 1.2
First, download and reference the MooTools 1.2 core library.
Download the MooTools 1.2 core library
Upload the MooTools 1.2 core library to your server or workspace
Link the MooTools 1.2 core library within the head tag of your HTML document
Reference code: