Auto scroll page down based on window height


Posted on 09 Apr 15 by Vickey

In the below code first we get the window height and then accordingly scroll page


if(jQuery(window).width() < 300) window.scroll(0,1000); else if(jQuery(window).width() < 600) window.scroll(0,2000);


If this post help you reduce time to develop, you can help me to maintain this website :)