Documentation

getScrollState

returns the current position of scrolls

object getScrollState();

Returns

objectthe position of scrolls

See also

Example

var state = $$('mytable').getScrollState();
alert(state.x); //position of x-scroll
alert(state.y); //position of y-scroll

Back to top