Line 155: | Line 155: | ||
setInterval(function() { | setInterval(function() { | ||
$( "ul.image_slider li:nth-child("+counter+")").toggleClass("current_image"); | $( "ul.image_slider li:nth-child("+counter+")").toggleClass("current_image"); | ||
− | counter++; | + | |
+ | if( counter > total_number_of_images) { | ||
+ | counter=1; | ||
+ | } | ||
+ | else{ | ||
+ | counter++; | ||
+ | } | ||
}, 500); | }, 500); |
Revision as of 19:27, 29 January 2018
All iGEM 2018 teams are given a namespace on the iGEM 2018 wiki with their team name: 2018.igem.org/Team:Example
Teams are allowed to create and edit pages within their respective team namespace. Teams are not allowed to create or edit pages belonging to another team's namespace.