diff --git a/static/js/combo.public.js b/static/js/combo.public.js index 0c115e4..b6fa61a 100644 --- a/static/js/combo.public.js +++ b/static/js/combo.public.js @@ -10,8 +10,8 @@ $(function() { var offset = parseInt(Math.random()*2000); var $ecrans = $('.ecrans'); $window.bind('scroll', function() { - var pos = $window.scrollTop(); - $ecrans.css('background-position', (offset + pos/2) + 'px 0px'); + var pos = Math.pow($window.scrollTop(), 1.1); + $ecrans.css('background-position', (offset + pos) + 'px 0px'); }); $window.trigger('scroll'); }