# infinite-scroll **Repository Path**: mirrors_camsong/infinite-scroll ## Basic Information - **Project Name**: infinite-scroll - **Description**: jQuery and Wordpress plugins for infinite scroll - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Infinite Scroll The jQuery and Wordpress Plugins: * jQuery Plugin `v2.0b.110415` * Wordpress Plugin As of version 2.0, option names have changed. Here is a list: ```javascript $('.selector').infinitescroll({ loading: { finished: undefined, finishedMsg: "Congratulations, you've reached the end of the internet.", img: "http://www.infinite-scroll.com/loading.gif", msg: null, msgText: "Loading the next set of posts...", selector: null, speed: 'fast', start: undefined }, state: { isDuringAjax: false, isInvalidPage: false, isDestroyed: false, isDone: false, // For when it goes all the way through the archive. isPaused: false, currPage: 1 }, callback: undefined, debug: false, behavior: undefined, binder: $(window), // used to cache the selector nextSelector: "div.navigation a:first", navSelector: "div.navigation", contentSelector: null, // rename to pageFragment extraScrollPx: 150, itemSelector: "div.post", animate: false, pathParse: undefined, dataType: 'html', appendCallback: true, bufferPx: 40, errorCallback: function () { }, infid: 0, //Instance ID pixelsFromNavToBottom: undefined, path: undefined }); ``` In addition, you can pause infinite scroll to stop it from triggering, and later resume it. ```javascript $('.selector').infinitescroll('pause'); $('.selector').infinitescroll('resume'); ```