108 points · by Skaught · 14y ago · 35 comments
also it would be nice to have a fixed header, like a menu navigation. you could have the animated content be local to a div with an overflow: hidden attribute, as opposed to moving the entire page.
great work!
Secondly, Parallax.js can already do this. It simply moves around the divs you feed it, which can be tiny or full screened! This allows you to throw your own header on the top, or, if you like, a same parallaxing div in the center of your page.
I didn't even notice there was a pattern in the background until I read it in a comment here...
I'm not seeing a license file, or any mention of licensing. You might want to toss that in there, if you want to allow / encourage people to use it.
Open source licenses only ever really serve to restrict what you can do with the thing. If you truly don't care what people do with the code you release, just release it. Like this guy did.
* Reduce the risk for the person publishing the thing
* Grant rights to the user of the thing
* Restrict (or not) the ways in which the thing can be distributed to others
About the closest to public domain you can get is probably something like this: http://creativecommons.org/about/cc0
With that said, I have to agree with @dangrossman I don't see any Parallax effect. I just see nice sliding pages.
[edit] went back and looked more closely at the background. I can see the effect, the image choice for background is just poor at showing it off. Maybe it's more visible when you don't have a bright window behind you like I do, but those thin gray lines really ought to be replaced with something more visible.
Also, hooking into browser history (back button) would be a nice feature.
The iOS demo is especially awesome.
An also there is an extra comma in the line 96 and that is one of the reasons it doesn't work on IE8.
I wouldn't and didn't say that. Just that I'd expect it to work with the most common browser out there.
For the record, Chrome 16 holds the title of "Browser with the single largest piece of marketshare for vendor/version combo" with 30.5% as of Jan 2012. It works dandy in there. So yeah, it works just fine with the most common browser out there.
IE8 was released nearly three years ago. By way of reference, in that time, Chrome has shipped 18 major versions. Complaining that modern snazz demos don't work in IE8 is just ridiculous at this point.
That said, it couldn't be used on a general purpose web site without at least some fallbacks.