Jump to content
Search Community

how to stop looping in observer plugin

BhaskarG test
Moderator Tag

Recommended Posts

12 minutes ago, mvaneijgen said:

I'm not completely sure what it is you're asking, but maybe you're looking for this. In this pen the observer plugin is active, but after a certain amount it will go over in normal scrolling behaviour. Hope it helps and happy tweening! 

 

 

 

@mvaneijgen Thanks for the reply. My concern is regarding looping through sections in the example in the code pen. There are 5 sections in the html , but after section 5, it loops back to section 1. I do not want this loop behavior. Could you please guide me on how to remove the loop?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...