Team:WHU-China

From 2013.igem.org

(Difference between revisions)
Line 83: Line 83:
//variable that will increment through the images
//variable that will increment through the images
var step=1
var step=1
 +
document.getElementById("nextimg").onclick={step++}
function slideit(){
function slideit(){
//if browser does not support the image object, exit.
//if browser does not support the image object, exit.
Line 93: Line 94:
else
else
step=1
step=1
-
if (document.getElementById("nextimg").onclick)
 
-
step++
 
//call function "slideit()" every 2.5 seconds
//call function "slideit()" every 2.5 seconds

Revision as of 03:26, 21 September 2013

We strongly recommend you to use a non-IE core browser, for example Firefox, Chrome, Safari, or Opera