Jump to content
Search Community

Ashish Sngh

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Ashish Sngh

  1. @akapowl Thanks for your help so far. I have modified the code according to my needs which is working so far but the indicators seems to be broken, its not working on click in my code, I tried to figure out the issues but can't get over it. If you can check and make it work, it would be really great.

     

    I haven't modified the indicators code but don't know why it is not working. I have included the pen below:

     

    See the Pen rNQxpJo by mr_ashish (@mr_ashish) on CodePen

  2. Hello there, I am using the above scrolltrigger code but I wanted to add toggle class to the texts when comes into view. For example in the article  element i wanted to add class. I tried to add it but the class is adding but not getting toggled. Here is the code i tried... 

     

    See the Pen JjejpGv by mr_ashish (@mr_ashish) on CodePen

     

    Edit: I have updated my pen, now the class is getting toggled in each article element but upon scrolling back to top its glitching, can you guys help me fix that.

     

    Thanks,

    Ashish

×
×
  • Create New...