Team:ETH Zurich/Templates/Test2

From 2013.igem.org

(Difference between revisions)
Line 60: Line 60:
   $('.bxslider').bind('mousewheel', function(event, delta, deltaX, deltaY) {
   $('.bxslider').bind('mousewheel', function(event, delta, deltaX, deltaY) {
             event.preventDefault();
             event.preventDefault();
-
             if (delta < 0) {slider.goToPrevSlide();}
+
             if (delta < 0) {slider.goToNextSlide();}
-
             else {slider.goToNextSlide();}  
+
             else {slider.goToPrevSlide();}  
           });
           });
});
});

Revision as of 20:51, 11 September 2013

Header2.png
80px-Eth igem logo.png


ETH's Colisweeper!


- beware not to step on a mine