Team:IIT Madras/About us/Gallery:Slideshow

From 2011.igem.org

(Difference between revisions)
Line 8: Line 8:
<script>
<script>
-
jQuery(document).ready(function(){
+
jQuery(document).ready();
-
var i=1;
+
function slideshow(){
-
$("#pid14").click(function(){
+
$("#pid1").show();
-
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;
 
-
i++;
 
-
}
 
-
 
-
});
 
-
 
-
});
 
</script>
</script>
Line 50: Line 35:
<p align="center"><img src="https://static.igem.org/mediawiki/2011/6/68/DSC05419.JPG" width="750" height="500" ALIGN="CENTER" class="photo" id="pid12"/><br/><br/></p>
<p align="center"><img src="https://static.igem.org/mediawiki/2011/6/68/DSC05419.JPG" width="750" height="500" ALIGN="CENTER" class="photo" id="pid12"/><br/><br/></p>
<p align="center"><img src="https://static.igem.org/mediawiki/2011/c/c4/DSC05363.JPG" width="750" height="500" ALIGN="CENTER" class="photo" id="pid13"/><br/><br/></p>
<p align="center"><img src="https://static.igem.org/mediawiki/2011/c/c4/DSC05363.JPG" width="750" height="500" ALIGN="CENTER" class="photo" id="pid13"/><br/><br/></p>
-
<p align="center"><img src="https://static.igem.org/mediawiki/2011/2/27/DSC05350.JPG" width="650" height="500" ALIGN="CENTER" class="photo" id="pid14" style="display:block" /><br/><br/></p>
+
<p align="center"><img src="https://static.igem.org/mediawiki/2011/2/27/DSC05350.JPG" width="650" height="500" ALIGN="CENTER" class="photo" id="pid14"/><br/><br/></p>
<br/>
<br/>

Revision as of 15:56, 28 October 2011

bar iGEM 2011 - Home Page Indian Institute of Technology - Madras










GALLERY