Contains Fx.Slide
Valerio Proietti, http://mad4milk.net
MIT-style license.
| Fx. Slide.js | Contains Fx.Slide |
| Fx. Slide | The slide effect; slides an element in horizontally or vertically, the contents will fold inside. |
| 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. Extends Fx.Base, inherits all its properties.
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.
| mode | set it to vertical or horizontal. Defaults to vertical. and all the Fx.Base options |
var mySlider = new Fx.Slide('myElement', {duration: 500});
mySlider.toggle() //toggle the slider up and down.| 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 |
slides the elements in view horizontally or vertically, depending on the mode parameter or options.mode.