Team:IIT Madras/About us/Gallery:Slideshow
From 2011.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
jQuery(document).ready(function(){ | jQuery(document).ready(function(){ | ||
var i=1; | var i=1; | ||
- | while(1){ | + | while(1){" |
if(i==1){ | if(i==1){ | ||
$("#pid14").hide(); | $("#pid14").hide(); | ||
Line 16: | Line 16: | ||
} | } | ||
else{ | else{ | ||
- | $("#pid"+(i-1)).hide() | + | $("#pid"+(i-1)).hide(); |
$("#pid"+i).show().delay(1000); | $("#pid"+i).show().delay(1000); | ||
} | } |
Revision as of 14:04, 28 October 2011