mrpaulius — 2013-05-21T04:14:27-04:00 — #1
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 ?
ralphm — 2013-05-21T05:03:35-04:00 — #2
mrpaulius — 2013-05-21T05:28:45-04:00 — #3
hrrr ... that means i need to start cracking java
ralphm — 2013-05-21T11:22:18-04:00 — #4
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.
mrpaulius — 2013-05-21T11:25:52-04:00 — #5
ralphm — 2013-05-21T11:46:22-04:00 — #6
system — 2013-05-27T02:35:28-04:00 — #7
mrpaulius — 2013-05-27T02:43:30-04:00 — #8
ralphm — 2013-05-27T03:52:40-04:00 — #9
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.