Team:IIT Madras/About us/Gallery:Slideshow
From 2011.igem.org
(Difference between revisions)
(5 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(); | ||
Line 27: | Line 27: | ||
</head> | </head> | ||
- | <body> | + | <body onload="auto()"> |
<div id="main_container" style="position:relative; top:-100px;> | <div id="main_container" style="position:relative; top:-100px;> | ||
<div id="write_up" style="text-decoration:none; width:90%;" align="center"> | <div id="write_up" style="text-decoration:none; width:90%;" align="center"> | ||
Line 47: | Line 47: | ||
<p align="center"><img src="https://static.igem.org/mediawiki/2011/2/27/DSC05350.JPG" width="700" height="500" ALIGN="CENTER" class="photo" id="pid14"/><br/><br/></p> | <p align="center"><img src="https://static.igem.org/mediawiki/2011/2/27/DSC05350.JPG" width="700" height="500" ALIGN="CENTER" class="photo" id="pid14"/><br/><br/></p> | ||
- | |||
<br/> | <br/> |
Latest revision as of 17:43, 28 October 2011