Easy parallax effect on scroll

1
2
$(window).scroll(function() {
var scroll = $(window).scrollTop();
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

2 Responses

Here's a demo http://codepen.io/monecchi/pen/mJXRqe - Enjoy!
@Adriano Monecchi Cool script, although... The url above doesnt' work this one does.
http://codepen.io/monecchi/pen/EjQWgY

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.