I have an html document with a couple of hyperlinks. I start scrolling
from the top of the webpage downwards. When a certain hyperlink goes out
of the screen as I am scrolling (ie: the hyperlink reaches the top of the
screen and is removed from our field of view) I want a certain event to take
place,such as incrementing a counter keeping track how many time this event has
happened. How can I do this with javascript?
Thanks a lot.
from the top of the webpage downwards. When a certain hyperlink goes out
of the screen as I am scrolling (ie: the hyperlink reaches the top of the
screen and is removed from our field of view) I want a certain event to take
place,such as incrementing a counter keeping track how many time this event has
happened. How can I do this with javascript?
Thanks a lot.
Comment