Fx. Slide.js

Contains Fx.Slide

License

MIT-style license.

Summary
Fx. Slide.jsContains Fx.Slide
Fx. SlideThe slide effect; slides an element in horizontally or vertically, the contents will fold inside.
Properties
slideInSlides the elements in view horizontally or vertically.
slideOutSides the elements out of view horizontally or vertically.
hideHides the element without a transition.
showShows the element without a transition.
toggleSlides in or Out the element, depending on its state

Fx. Slide

The slide effect; slides an element in horizontally or vertically, the contents will fold inside.  Inherits methods, properties, options and events from Fx.Base.

Note

Fx.Slide requires an XHTML doctype.

Options

modeset it to vertical or horizontal.  Defaults to vertical.
optionsall the Fx.Base options

Example

var mySlider = new Fx.Slide('myElement', {duration: 500});
mySlider.toggle() //toggle the slider up and down.
Summary
Properties
slideInSlides the elements in view horizontally or vertically.
slideOutSides the elements out of view horizontally or vertically.
hideHides the element without a transition.
showShows the element without a transition.
toggleSlides in or Out the element, depending on its state

Properties

slideIn

Slides the elements in view horizontally or vertically.

Arguments

mode(optional, string) ‘horizontal’ or ‘vertical’; defaults to options.mode.

slideOut

Sides the elements out of view horizontally or vertically.

Arguments

mode(optional, string) ‘horizontal’ or ‘vertical’; defaults to options.mode.

hide

Hides the element without a transition.

Arguments

mode(optional, string) ‘horizontal’ or ‘vertical’; defaults to options.mode.

show

Shows the element without a transition.

Arguments

mode(optional, string) ‘horizontal’ or ‘vertical’; defaults to options.mode.

toggle

Slides in or Out the element, depending on its state

Arguments

mode(optional, string) ‘horizontal’ or ‘vertical’; defaults to options.mode.
The slide effect; slides an element in horizontally or vertically, the contents will fold inside.
Base class for the Effects.

Documentation by Aaron Newton & Mootools Developers, generated by NaturalDocs and GeSHi