Webtips 02 - parallax 01. Create a Parallax Website Header. This tutorial will show you how to create a cool Parallax Website Header using jQuery and the jParallax jQuery plugin.
Tutorial Details Last year, the Silverback App site, designed by Carsonified, created some chatter amongst the design community for its clever use of a parallax scrolling effect seen when resizing the browser window. Spritely.net. jQuery Parallax 0.2 – Minor updates. Webdev.stephband.info. Download git clone github.com/stephband/jparallax Instantiation.
Here we layer backgrounds on top of each other and change their horizontal position to move them past the viewing area. It also uses different multipliers to move the closer objects quicker, and create a parallax effect. After you’ve checked out the parallax scrolling demo you can head back here to see how it’s written up. How to recreate Silverback’s parallax effect. When I was a lad, I remember being wowed by an effect in Sonic the Hedgehog known as parallax scrolling.
Moving my little spiky friend to the right caused the foreground to move past the camera to the left faster than the background, creating a faux-3D view of Green Hill Zone. We can create a similar effect on a web page by fixing semi-transparent background images to different sides of the browser viewport, and at different horizontal percentage positions. In addition to this, blurring some of those images will emulate focus and depth-of-field.
The effect can only be seen as the browser window is resized, but I really like the subtlety of this — not everybody will notice it, but it’s like a hidden Easter egg for those who do.