Update script.js

This commit is contained in:
talksik
2016-06-05 12:40:55 -07:00
parent 52d23cd08b
commit 6b1f67db15
+4 -16
View File
@@ -2,7 +2,7 @@
$(window).load(function(){
$(".loader").fadeOut(100);
$(".loader").fadeOut(3000);
});
@@ -44,22 +44,10 @@ $(window).scroll(function(){
'transform' : 'translate(0px, -'+ wScroll /15 +'%)'
});
$('.music1').css({
'transform' : 'translate(0px, '+ wScroll /3 +'%)'
});
$('.mushroom').css({
'transform' : 'translate(0px, -'+ wScroll /20 +'%)'
});
$('.mario').css({
'transform' : 'translate('+ wScroll /10 +'%, '+ wScroll /30 +'%)'
});
$('.joystick').css({
'transform' : 'translate(0px, '+ wScroll /20 +'%)'
'transform' : 'translate(0px, '+ wScroll /5 +'%)'
});