pklauzinski / jscroll

An infinite scrolling plugin for jQuery.
http://jscroll.com/
1.11k stars 563 forks source link

Change state of autoTrigger during runtime #65

Open marcOSS040 opened 9 years ago

marcOSS040 commented 9 years ago

Hi,

is there a simple way to change the status of the autoTrigger during the runtime?

I have an "infinite" list of content and on site number one it shows up the first 6 results. In my initial call I would like the User to activiley press "show more" and from there on I want to change the autoTrigger to "true" so that the user can load more sites with also 6 results on every call just by scrollin down the page.

An option like "autoTriggerUntil" would be nice, where we can set an value from where we turn ON the autoTrigger - like "autoTriggerFrom" :)

Kind regards, Marco

marcOSS040 commented 9 years ago

Thanks for putting this to state enhancement. I am back on the point to have a look at this on my project. Is there a way to get this functionality with the current version?

hoannv commented 8 years ago

@pklauzinski any update for this feature ?

markfqs commented 8 years ago

Hi, I'm also interested in this feature

Is there a way to enable/disable autoTrigger from external javascript code?

I need to enable jscroll only when is on an active tab. (as if users scrolls down while being on another tab, jscroll also triggers on the hidden one).

marcOSS040 commented 8 years ago

I hope this is still an enhancement option! :)