Fx. Slide.js

Contains Fx.Slide

Author

Valerio Proietti, http://mad4milk.net

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, depending on the mode parameter or options.mode.
slideOutslides the elements out of the view horizontally or vertically, depending on the mode parameter or options.mode.
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.  Extends Fx.Base, inherits all its properties.

Note

This effect works on any block element, but the element doesnt allow absolute positions.  To position the element, put it inside another element (a wrapper div, for instance) and position that instead.

Options

modeset it to vertical or horizontal.  Defaults to vertical. and all 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, depending on the mode parameter or options.mode.
slideOutslides the elements out of the view horizontally or vertically, depending on the mode parameter or options.mode.
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, depending on the mode parameter or options.mode.

slideOut

slides the elements out of the view horizontally or vertically, depending on the mode parameter or options.mode.

hide

Hides the element without a transition.

show

Shows the element without a transition.

toggle

Slides in or Out the element, depending on its state

The slide effect; slides an element in horizontally or vertically, the contents will fold inside.
Base class for the Mootools Effects (Moo.Fx) library.