开发者

jqtscroll - How do I send the scroll content to the end of the page?

开发者 https://www.devze.com 2023-03-09 05:57 出处:网络
How do I send the scroll content to the end of the page? Th开发者_JAVA技巧ere\'s a bind event to do this?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消