• Selah

    (@tubescreamer)


    Hi. I have a preloader animation on my website where users have to click a button to enter the website. On clicking this button, the preloader slides up and gets hidden and when that animation is done, a class ‘layout-switch’ gets added to the body tag. Is it possible to delay triggering of the animation until that class gets added? At present the elements I have applied animations to above the fold get animated as they’re technically in view, but the preloader is blocking it, so if the person doesn’t click the start button to enter quick enough, they won’t see the animation.

    • This topic was modified 1 year ago by Selah.
  • The topic ‘Delay triggering of animation until class gets added to body tag’ is closed to new replies.