Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).scroll(
- function()
- {
- if ($(window).height() + $(window).scrollTop() == $(document).height())
- {
- ShowMore();
- }
- });
- function ShowMore()
- {
- for (var i=0; i<$('.list-member').length; ++i)
- {
- if ($($('.list-member')[i]).css('display') == 'none')
- {
- $($('.list-member')[i]).fadeIn('slow');
- ++k;
- if (k>=10) break;
- }
- }
- k=0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement