the compact javascript framework
in partnership with mediatemple
Contains Fx.Slide
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. |
slideOut | Sides the elements out of view horizontally or vertically. |
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. Inherits methods, properties, options and events from Fx.Base.
Fx.Slide requires an XHTML doctype.
mode | set it to vertical or horizontal. Defaults to vertical. |
options | all the Fx.Base options |
var mySlider = new Fx.Slide('myElement', {duration: 500}); mySlider.toggle() //toggle the slider up and down.
Slides the elements in view horizontally or vertically.
mode | (optional, string) ‘horizontal’ or ‘vertical’; defaults to options.mode. |
Sides the elements out of view horizontally or vertically.
mode | (optional, string) ‘horizontal’ or ‘vertical’; defaults to options.mode. |
Hides the element without a transition.
mode | (optional, string) ‘horizontal’ or ‘vertical’; defaults to options.mode. |
Documentation by Aaron Newton & Mootools Developers, generated by NaturalDocs and GeSHi