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