Team:IIT Madras/About us/Gallery:Slideshow
From 2011.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
function slideshow(){ | function slideshow(){ | ||
- | $("#pid1"). | + | var i=2; |
+ | $("#pid1").slideDown(); | ||
+ | while(i<=14){ | ||
+ | $("#pid"+i-1).slideUp().delay(1000); | ||
+ | $("#pid"+i).slideDown(); | ||
+ | i++; | ||
+ | } | ||
+ | slideshow(); | ||
} | } | ||
Line 19: | Line 26: | ||
<body onload="slideshow()"> | <body onload="slideshow()"> | ||
<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%;"> | + | <div id="write_up" style="text-decoration:none; width:90%;" align="center"> |
<br/><br/><br/><br/><br/><br/><br/><br/><br/> | <br/><br/><br/><br/><br/><br/><br/><br/><br/> | ||
<h1 align="center"><b><u> GALLERY </u></b><h1><br/> | <h1 align="center"><b><u> GALLERY </u></b><h1><br/> |
Revision as of 16:50, 28 October 2011