Show HN: My weekend project Parallax.js
stolksdorf.github.com
stolksdorf.github.com
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.
That said, it couldn't be used on a general purpose web site without at least some fallbacks.
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.
I was under the impression that Chrome auto-updates, and hence Chrome 16 is really all the "Current stable release" versions of Chrome.
So might as well compare it to IE9 and IE8 combined.
http://www.w3counter.com/globalstats.php
> By way of reference, in that time, Chrome has shipped 18 major versions.
I was also under the impression that Chrome got rid of meaningful "major" releases some time ago in favor of non-meaningful "major" releases.
"Google Chrome's Version Number Is Meaningless"
http://googlesystem.blogspot.com/2010/11/google-chromes-vers...
> Complaining that modern snazz demos don't work in IE8 is just ridiculous at this point.
Getting some text to align on a website for a significant browser segment is not ridiculous to me at all.