Jump to content
Search Community

14four

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by 14four

  1. Hi, 

    I have a scrolling site featuring 14 different animations with a "navigation dots" in between. I'd like to go to getLabelAfter + 1 when scrolling down (so it plays through the animation and then stops), but then getLabelBefore + 1 (or -1?) when scrolling up so it doesn't run through the "navigation dots", but stops just above the animation.

     

    Is this possible? (Hopefully this makes sense.)

     

     

    __________________________________________

     

    [ go to this label when scrolling up from below ]

     

                               ANIMATION

    __________________________________________

                                    •

                                    •

                                    •

                                    •

                                    •

    __________________________________________

     

    [ go to this label when scrolling up from below ]

     

                               ANIMATION

     

    [ go to this label when scrolling down from above ]

    __________________________________________

                                    •

                                    •

                                    •

                                    •

                                    •

    __________________________________________

     

    [ go to this label when scrolling up from below ]

     

                               ANIMATION

     

    [ go to this label when scrolling down from above ]

    __________________________________________

                                    •

                                    •

                                    •

                                    •

                                    •

×
×
  • Create New...