John Resig - Learning from Twitter
►http://ejohn.org/blog/learning-from-twitter
It’s a very, very, bad idea to attach handlers to the window scroll event. Depending upon the browser the scroll event can fire a lot and putting code in the scroll callback will slow down any attempts to scroll the page (not a good idea).
D’une façon générale les handlers en #javascript peuvent facilement mettre la grouille, comme on dit chez moi. Utiliser avec parcimonie.