
jquerylazyscrollloading
jQuery Lazy Scroll Loading Plugin
(This project has moved it's source over to https://github.com/h920526/jQueryLazyScrollLoading'>https://github.com/h920526/jQueryLazyScrollLoading)
http://plugins.jquery.com/jQueryLazyScrollLoading/
- Lazy loading event monitor for onScroll event.
- Fast and concise
延遲加載事件監視
Tested with: Chrome22, Firefox 16, IE6+, Opera 12, Saferi 5Demo: http://dl.dropbox.com/u/8316573/jquerylazyscrollloading/index.html
Usage:
```
Lazy Item1 Lazy Item2 Lazy Item3 Lazy Item4 Lazy Item5
$(document).ready(function() {
$("#lazyScrollLoading").lazyScrollLoading({
lazyItemSelector : ".lazyItem",
onLazyItemFirstVisible : function(e, $lazyItems, $firstVisibleLazyItems) {
// do something on visible at the first time
},
onLazyItemVisible : function(e, $lazyItems, $visibleLazyItems) {
// do something on visible
},
onLazyItemInvisible : function(e, $lazyItems, $invisibleLazyItems) {
// do something on invisible
},
onScrollVertically : function(e, $lazyItems) {
// do something on scroll vertically
},
onScrollHorizontally : function(e, $lazyItems) {
// do something on scroll horizontally
},
onScrollUp : function(e, $lazyItems) {
// do something on scroll up
},
onScrollDown : function(e, $lazyItems) {
// do something on scroll down
},
onScrollLeft : function(e, $lazyItems) {
// do something on scroll left
},
onScrollRight : function(e, $lazyItems) {
// do something on scroll right
},
onScrollToTop : function(e, $lazyItems) {
// do something on scroll to top
},
onScrollToBottom : function(e, $lazyItems) {
// do something on scroll to bottom
},
onScrollToLeftmost : function(e, $lazyItems) {
// do something on scroll to leftmost
},
onScrollToRightmost : function(e, $lazyItems) {
// do something on scroll to rightmost
}
});
});
```
<hr />
See also:
jQuery Multiple Select Box Plugin (http://code.google.com/p/jquerymultipleselectbox/)
JDBMapLite (http://code.google.com/p/jdbmaplite/)
JWebLite (http://code.google.com/p/jweblite/)
Project Information
The project was created on Oct 20, 2012.
- License: Apache License 2.0
- svn-based source control
Labels:
jquery
plugin
javascript
userinterface
lazy
lazyloading
lazyscrollloading
jquerylazyscrollloading
lazyimage
lazyload
loading
load
lazyscroll
viewport
scrollviewport