I’ve noticed that quite few websites using technique, were when user scrolls down, something more appears on page eg. it can be nav list or logo ( as in this example http://www.zippergaleria.com.br/pt/ once you scroll slightly down, there logo appears on left corner), I’m sure I’ve seen on sitepoint somewhere as well
I tried figure out how to make this happen … but …
Asking for your help guys, can you please explain me how to do it ?
hrrr … that means i need to start cracking java
Yes, it’s very handy, though people get carried away with it, I feel—mostly using it for fancy stuff that gets in the way more than anything.
In a lot of situations, you can just cut and paste code rather than reinventing the wheel each time. There are many thousands of free scripts out there for doing all sorts of things, including this.
Certainly new things are being added all the time, but that doesn’t mean that a book from some years back is useless. My favorite JS book is from 2005, and it’s perfectly relevant for today. Once you’ve learned the foundations, you can read about what’s new. Most of the new stuff / practices are for higher level JS rather than the basics.