Closed jerone closed 11 years ago
Good idea, I'll add an option for that when I have time :)
Done in version 1.0.5. The option is bottomDetectionOffset: it can be an int (pixels) or a percentage of the container height (example: '30%'). The default is now set to '10%'.
Still loving your script!
I was looking for a way to set an offset/margin for when the
bottomreached
event will be triggered. Right now it's bottom minus 1 pixel, but I like to trigger this event 100 pixels earlier.Keep up the great work!