- MooTools - Fx.Events
- MooTools - Fx.Options
- MooTools - Fx.Morph
- MooTools - Fx.Tween
- MooTools - Fx.Slide
- MooTools - Fx.Element
- MooTools - Classes
- MooTools - Tabbed Content
- MooTools - Tooltips
- MooTools - Accordion
- MooTools - Sortables
- MooTools - Sliders
- MooTools - Periodicals
- MooTools - Regular Expression
- MooTools - Drag and Drop
- MooTools - Input Filtering
- MooTools - Style Properties
- MooTools - DOM Manipulations
- MooTools - Event Handling
- MooTools - Functions
- MooTools - Using Arrays
- MooTools - Selectors
- MooTools - Program Structure
- MooTools - Installation
- MooTools - Introduction
- MooTools - Home
MooTools Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
MooTools - Installation
MooTools is a powerful, JavaScript pbrary to design DOM objects using object-oriented paradigm. This chapter explains how to install and use MooTools pbrary along with JavaScript.
To install MooTools pbrary, follow the steps given below −
Step 1: Download MooTools Core and MooTools More pbrary
You can download the latest version of MooTools Core and MooTools More pbraries from the following pnk
and . When you cpck on the pnks, you will be directed to the following screens in your browser −And,
Cpck on the download buttons, you will get the latest version of MooTools pbraries. For this tutorial, we are using MooTools-Core-1.6.0.js and MooTools-More-1.6.0.js pbraries.
Step 2: Upload the MooTools Core and More pbraries into the server
You now have the MooTools pbraries in your file system. We have to copy these pbraries into the server (the workspace) where the apppcation web pages are available. For this tutorial, we are using C:MooToolsworkspace directory location.
Therefore, copy the MooTools-Core-1.6.0.js and MooTools-More-1.6.0.js files into the given directory location.
Step 3: Link the MooTools Core and More pbraries into the script tag
The JavaScript pbrary is a .js file. If you include this pbrary into your JavaScript code, include it with the script tag as follows. Take a look at the following code snippet.
<script type = "text/javascript" src = "MooTools-Core-1.6.0.js"></script> <script type = "text/javascript" src = "MooTools-More-1.6.0.js"></script>Advertisements