the compact javascript framework
in partnership with mediatemple
Contains Fx.Scroll
MIT-style license.
Fx. Scroll.js | Contains Fx.Scroll |
Fx. Scroll | Scroll any element with an overflow, including the window element. |
Properties | |
scrollTo | Scrolls the chosen element to the x/y coordinates. |
toTop | Scrolls the chosen element to its maximum top. |
toBottom | Scrolls the chosen element to its maximum bottom. |
toLeft | Scrolls the chosen element to its maximum left. |
toRight | Scrolls the chosen element to its maximum right. |
toElement | Scrolls the specified element to the position the passed in element is found. |
Scroll any element with an overflow, including the window element. Inherits methods, properties, options and events from Fx.Base.
Fx.Scroll requires an XHTML doctype.
element | the element to scroll |
options | optional, see Options below. |
all the Fx.Base options and events, plus: offset - the distance for the scrollTo point/element. an Object with x/y properties. overflown - an array of nested scrolling containers, see Element.getPosition
Properties | |
scrollTo | Scrolls the chosen element to the x/y coordinates. |
toTop | Scrolls the chosen element to its maximum top. |
toBottom | Scrolls the chosen element to its maximum bottom. |
toLeft | Scrolls the chosen element to its maximum left. |
toRight | Scrolls the chosen element to its maximum right. |
toElement | Scrolls the specified element to the position the passed in element is found. |
Documentation by Aaron Newton & Mootools Developers, generated by NaturalDocs and GeSHi