jmontoyaa 0030835069 move assets to public new symfony structure | 7 лет назад | |
---|---|---|
.. | ||
.gitignore | 7 лет назад | |
README.md | 7 лет назад | |
jquery.jscroll.js | 7 лет назад | |
jquery.jscroll.min.js | 7 лет назад | |
jscroll.jquery.json | 7 лет назад |
Official site at jscroll.com.
Requires jQuery v1.4.3+
Follow us on Facebook for commit updates: http://www.facebook.com/jScroll.Infinite.Scrolling
The jscroll
method is called on the selector for which you want your scrollable content contained within. For example:
$('.jscroll').jscroll();
The jscroll
method takes an optional object literal as a parameter for overriding the default options. An example of how this can be done is shown below.
$('.jscroll').jscroll({
loadingHtml: '<img src="loading.gif" alt="Loading" /> Loading...',
padding: 20,
nextSelector: 'a.jscroll-next:last',
contentSelector: 'li'
});
console
object exists.autoTrigger
of paging after the specified number of pages. Requires autoTrigger
to be true
.'<small>Loading...</small>'
) The HTML to show at the bottom of the content while loading the next set.For more information on the contentSelector option and how it loads a response fragment, see the jQuery documentation for the .load() method.