How is this site preforming an action when you get to a certain part of the page?

I went to a website http://wishbone.org/ and when you get to a graphic of a bunch of cartoon people it changes color, but it starts when you reach it. There's not predetermined time. How do they do that?

Answers


The trick is to handle "scroll" events and wait for a a particular element to become visible, or for the scroll "top" distance to reach a certain minimum.


Need Your Help

mongojs implementation new bie

node.js mongodb mongojs

Hi I am new to MongoDB and NodeJs. I am using "mongojs" module to simple read the data from mongodb. The code goes as follows:

OpenPGP Signing

cryptography pgp gnupg openpgp

I'm reading RFC4880 in an attempt to produce an implementatdion of a subset