Last active
June 13, 2018 07:08
-
-
Save lmchawla/ffe32635bd2cd5f2f6e089f758465793 to your computer and use it in GitHub Desktop.
infinitely scrolls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function show_more() | |
{ | |
//if(!load)return; | |
var scroll = $(window).scrollTop(); | |
$("body, html").animate({ | |
scrollTop: $(document).height() | |
}, 0); | |
} | |
function fetch_more(){ | |
// len=$('.browse_startups_table_row').length; | |
//if(len<10) | |
show_more(); | |
} | |
window.setInterval(fetch_more,1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment