Triggering jquery event when an element appears on screen
Posted
by 0al0
on Stack Overflow
See other posts from Stack Overflow
or by 0al0
Published on 2010-06-15T14:00:23Z
Indexed on
2010/06/15
14:02 UTC
Read the original article
Hit count: 166
jQuery
I want to show a fade effect as soon as the element appears on screen. There is a lot of content before this element so if I trigger the efect on document.ready, at certain resolutions the vistors wont´t see it.
Is it possible to trigger an event when, after scrolling down, the element becomes visible? I am almost sure I have seen this effect before, but have no idea how to achieve it.
Thank you!
© Stack Overflow or respective owner