A direct opposite of jQuery's

scrollBottom

A direct opposite of jQuery's scrollTop() function.

Usage

Simply call this function on any jQuery selector as you would do normally.

The scrollBottom works as a direct opposite to the native scrollTop function.
Where scrollTop would get or set the number of pixels from the top of the selector to the top of the website, scrollBottom will get and set the number of pixels from the bottom of the selector to the bottom of the website.

$(window).scrollBottom(); // or... $('my-selector').scrollBottom(); // or... $(window).scrollBottom(200);

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。