Created
June 17, 2015 23:16
-
-
Save thatgibbyguy/02059f61ae93d529c8b2 to your computer and use it in GitHub Desktop.
manship-infinite-scroll
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
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$("#timeline").infinitescroll({ | |
navSelevtor : ".navigation", | |
nextSelector : "a.next", | |
itemSelector : ".sectioner", | |
contentSelector : "#timeline", | |
extractLink: true | |
}); | |
$('.simply-scroll-btn-left').text("<<").show(); | |
$('.simply-scroll-btn-right').text(">>").show(); | |
}); | |
$(".next-page").hover(function(){ | |
$('#timeline').infinitescroll('retrieve'); | |
return false; | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment