342 posts
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+6 more
vtimbuc
says

Hi guys,

Does anyone know if there is a jQuery plugin to check if an element is on the viewport?

I need to add a class when a dom element is visible to the user and remove it when it’s not.

Thanks

25 posts
  • Trendsetter
  • Elite Author
  • Author Level 7
  • Exclusive Author
+5 more
audemedia
says
342 posts
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
  • Collector Level 3
+6 more
vtimbuc
says

Thanks mate.

I also found this one that works well https://github.com/morr/jquery.appear .

by
by
by
by
by
by