How do I send the scroll content to the end of the page? Th开发者_JAVA技巧ere's a bind event to do this?
http://code.google.com/p/jqtscroll/
the awswer:
scrollEnd: function scrollEnd(){
var x = -Math.round(this._scrollMin.e);
var y = -Math.round(this._scrollMin.f);
return this.scrollTo(x, y);
}
in the jqt.scroll.js file.
精彩评论