News for hackers. Stuff that matters.
Re:Show HN: My weekend project Parallax.js by dmvaldman on Monday February 06, 2012 @01:47PM (#3558630)
very nice! you may want to consider doing these transitions with CSS3 and falling back to javascript top/left animations because they are optimized for mobile. The transitions lag a bit on my iphone.

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!

Re:Show HN: My weekend project Parallax.js by Skaught on Monday February 06, 2012 @03:16PM (#3559003)
Your suggestion for the CSS3 is great, I'll definitely toy around with it in the next few days.

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.

Re:Show HN: My weekend project Parallax.js by fuzionmonkey on Monday February 06, 2012 @03:50PM (#3559128)
Even on desktops, CSS3 transitions are much smoother than Javascript.