Team:IIT Madras/About us/Gallery:Slideshow
From 2011.igem.org
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 12: | Line 12: | ||
function auto(){ | function auto(){ | ||
- | setTimeout("next_pic()", | + | setTimeout("next_pic()",2500); |
} | } | ||
function next_pic(){ | function next_pic(){ | ||
- | $("#pid"+i).fadeOut(); | + | $("#pid"+i).fadeOut(1000); |
if(i==14) i=0; | if(i==14) i=0; | ||
- | $("#pid"+(i+1)).fadeIn(); | + | $("#pid"+(i+1)).fadeIn(1000); |
i++; | i++; | ||
auto(); | auto(); |
Latest revision as of 17:43, 28 October 2011