I'm trying to use JQuery to do a very simple parallax effect and the console keeps telling me: Uncaught SyntaxError: Unexpected token )
I've tried to figure out what it means and I just don't see where an extra ) is. Here is the code:
$(window).scroll(function(){
var wScroll = $(this).scrollTop();
$('.title').css({
'transform' : 'translate(0px, '+ wScroll /2 +'%')'
});
});



Reply With Quote
