Load newest JQuery 1.x library from Google's CDN ∞
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
The Window Scroll Event ∞
- It's a very, very, bad idea to attach handlers to the window scroll event.
- Always cache the selector queries that you're re-using.