Difference between revisions of "Team:Tuebingen/Art and Design"

Line 45: Line 45:
 
var right = document.createElement('div');
 
var right = document.createElement('div');
 
right.style.cssText = 'position:absolute;top:0px;bottom:0px;right:0px;left:50%;z-index:100;cursor:pointer;';
 
right.style.cssText = 'position:absolute;top:0px;bottom:0px;right:0px;left:50%;z-index:100;cursor:pointer;';
right.onmouseover = function() {this.interval = window.setInterval('rotateCarousel(10)',200);};
+
right.onmouseover = function() {this.interval = window.setInterval('rotateCarousel(10)',1000);};
 
carousel.appendChild(right);
 
carousel.appendChild(right);
 
}
 
}

Revision as of 16:46, 18 September 2015

<
>