MooTools Home

  • Core
  • More
  • Blog
  • Forge
  • Contribute

Core

Menu

  • Overview
  • Documentation
  • Builder

Versions

  • 1.6.0
  • 1.5.2
  • 1.5.1
  • 1.4.5
  • 1.3.2
  • 1.2.6
  • Browser
    • Browser

    • Browser.Features
    • Browser.Request
    • Browser.exec
    • Browser.parseUA
    • Browser.name
    • Browser.version
    • Browser.platform
    • Deprecated

    • Browser[Browser.name]
    • Browser.Platform
    • Browser.Plugins
    • Browser.Engine
  • Class.Extras
    • Chain

    • constructor
    • chain
    • callChain
    • clearChain
    • Events

    • addEvent
    • addEvents
    • fireEvent
    • removeEvent
    • removeEvents
    • Options

    • setOptions
    • Options in combination with Events
  • Class.Thenable
    • Class.Thenable

    • then
    • catch
    • resolve
    • reject
    • getThenableState
    • resetThenable
  • Class
    • Class

    • constructor
    • implement
  • Core
    • Core

    • typeOf
    • instanceOf
    • implement
    • extend
    • Generics
    • Deprecated Functions

    • $chk
    • $clear
    • $defined
    • $arguments
    • $empty
    • $lambda
    • $extend
    • $merge
    • $each
    • $pick
    • $random
    • $splat
    • $time
    • $try
    • $type
  • Element.Delegation
    • Element

    • addEvent
    • addEvents
    • removeEvent
    • removeEvents
  • Element.Dimensions
    • Element

    • scrollTo
    • getSize
    • getScrollSize
    • getScroll
    • getPosition
    • setPosition
    • getCoordinates
    • getOffsetParent
  • Element.Event
    • Element

    • addEvent
    • removeEvent
    • addEvents
    • removeEvents
    • fireEvent
    • cloneEvents
    • Element.Events

    • Built-in Custom Events
    • Element.NativeEvents

  • Element.Style
    • Element

    • setStyle
    • getStyle
    • setStyles
    • getStyles
  • Element
    • Window

    • document.id
    • $
    • $$
    • Element

    • constructor
    • getElement
    • getElements
    • getElementById
    • set
    • get
    • erase
    • match
    • contains
    • inject
    • grab
    • adopt
    • wraps
    • appendHTML
    • appendText
    • dispose
    • clone
    • replaces
    • hasClass
    • addClass
    • removeClass
    • toggleClass
    • getPrevious
    • getAllPrevious
    • getNext
    • getAllNext
    • getFirst
    • getLast
    • getParent
    • getParents
    • getSiblings
    • getChildren
    • empty
    • destroy
    • toQueryString
    • getSelected
    • getProperty
    • getProperties
    • setProperty
    • setProperties
    • removeProperty
    • removeProperties
    • store
    • retrieve
    • eliminate
    • Element.Properties

    • html
    • text
    • tag
    • IFrame

    • constructor
    • Elements

    • constructor
    • append
    • concat
    • empty
    • filter
    • push
    • unshift
    • Deprecated Functions

    • hasChild
    • injectBefore
    • injectAfter
    • injectBottom
    • injectTop
    • injectInside
    • grabBefore
    • grabAfter
    • grabBottom
    • grabTop
    • grabInside
    • extend
  • Fx.CSS
    • Fx.CSS

  • Fx.Morph
    • Fx.Morph

    • set
    • start
    • Element.Properties

    • morph
    • Element

    • morph
  • Fx.Transitions
    • Fx

    • Fx.Transitions

    • linear
    • quad
    • cubic
    • quart
    • quint
    • pow
    • expo
    • circ
    • sine
    • back
    • bounce
    • elastic
    • Fx.Transition

  • Fx.Tween
    • Fx.Tween

    • constructor
    • set
    • start
    • Element.Properties

    • tween
    • Element

    • tween
    • fade
    • highlight
  • Fx
    • Fx

    • constructor
    • start
    • set
    • cancel
    • pause
    • resume
    • isRunning
    • isPaused
  • Request.HTML
    • Request.HTML

    • Element.Properties

    • load
    • Element

    • load
  • Request.JSON
    • Request.JSON

  • Request
    • Request

    • setHeader
    • getHeader
    • send
    • send aliases
    • cancel
    • isRunning
    • Element.Properties

    • send
    • Element

    • send
  • Slick
    • Slick

    • Reverse Combinators
    • Slick.definePseudo
    • Next Siblings ('~')
    • Previous Siblings ('!~')
    • All Siblings ('~~')
    • First Child ('^')
    • Last Child ('!^')
    • checked
    • enabled
    • empty
    • contains
    • focus
    • not
    • nth-child
    • nth-last-child
    • even
    • odd
    • index
    • first-child
    • last-child
    • only-child
  • Types.Array
    • Array

    • Array.each
    • Array.clone
    • Array.convert
    • each
    • invoke
    • every
    • filter
    • clean
    • indexOf
    • map
    • some
    • associate
    • link
    • contains
    • append
    • getLast
    • getRandom
    • include
    • combine
    • erase
    • empty
    • flatten
    • pick
    • hexToRgb
    • rgbToHex
    • Deprecated Functions

    • Array.from
  • Types.DOMEvent
    • DOMEvent

    • constructor
    • stop
    • stopPropagation
    • preventDefault
    • DOMEvent.defineKey
    • DOMEvent.defineKeys
  • Types.Function
    • Function

    • Function.convert
    • Function.attempt
    • extend
    • implement
    • attempt
    • pass
    • bind
    • delay
    • periodical
    • Deprecated Functions

    • create
    • bindWithEvent
    • run
  • Types.Number
    • Number

    • Number.convert
    • Number.random
    • limit
    • round
    • times
    • toFloat
    • toInt
    • Math Methods
  • Types.Object
    • Object

    • Object.each
    • Object.merge
    • Object.clone
    • Object.append
    • Object.subset
    • Object.map
    • Object.filter
    • Object.every
    • Object.some
    • Object.keys
    • Object.values
    • Object.getLength
    • Object.keyOf
    • Object.contains
    • Object.toQueryString
    • Deprecated Functions

    • Hash
    • has
    • keyOf
    • hasValue
    • extend
    • combine
    • erase
    • get
    • set
    • empty
    • include
    • map
    • filter
    • every
    • some
    • getKeys
    • getValues
    • toQueryString
  • Types.String
    • String

    • String.convert
    • String.uniqueID
    • test
    • contains
    • trim
    • clean
    • camelCase
    • hyphenate
    • capitalize
    • escapeRegExp
    • toInt
    • toFloat
    • hexToRgb
    • rgbToHex
    • substitute
    • stripScripts
  • Utilities.Cookie
    • Cookie

    • write
    • read
    • dispose
  • Utilities.DOMReady
    • domready

  • Utilities.JSON
    • JSON

    • encode
    • decode

MooTools API Documentation

Back to Top

Popular Pages

Back to Top
  • Class - Use MooTools with Class
  • Element - Interact with the DOM
  • Element.Event - Add events to DOM Elements
  • Element.Delegation - Event Delegation
  • Fx.Tween - Create effects for single properties
  • Request - An XMLHttpRequest Wrapper

Interesting Blogposts

Back to Top
  • Setting Up Elements
  • A Magical Journey into the Base Fx Class
  • Get friendly with the Natives
  • A Better Way to use Elements
  • Events with MooTools - Element, Class, Delegation and Pseudos
  • Optimizing MooTools builds sans Internet Explorer

Previous Versions Documentation

Back to Top
  • MooTools 1.2.6 Docs
  • MooTools 1.1 Docs

Projects

  • Core
  • More

About

  • Blog
  • Books
  • Developers
  • Merchandising

Support

  • User Group
  • The MooTorial
  • Stack Overflow

Connect with us

  • GitHub
  • Twitter
  • Facebook
  • Google+

Documentation

  • MooTools Core
  • MooTools More

MooTools

Copyright © 2006-2023
Valerio Proietti & MooTools Developers

Web Hosting by Media Temple