Jump to content
Search Community

jafar70

Members
  • Posts

    2
  • Joined

  • Last visited

jafar70's Achievements

  1. Thank you so much. I have spent weeks trying to figure it out. Thank you again.
  2. Hi all, This is my first post so bear with me. I am trying to add a class to elements once they come into view. I am using the ScrollTrigger plugin to do this. The problem is when you refresh the page on Chrome it saves the position before you refresh but the elements above their current position have the class added to it which is not the goal. I want the class "effect--ready" to be added to the effect class once the user scrolls up or down from their current position after reloading the page. I did not use ToggleClass because I only wanted the class to be added once.
×
×
  • Create New...