Team:IIT Madras/About us/Gallery:Slideshow
From 2011.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
<script> | <script> | ||
- | + | var i=1; | |
jQuery(document).ready(); | jQuery(document).ready(); | ||
- | function | + | function next_pic(){ |
- | + | $("#pid"+i).hide(); | |
- | $("# | + | if(i==14) i=0; |
- | + | $("#pid"+i+1).show(); | |
- | + | ||
- | $("#pid"+i). | + | |
i++; | i++; | ||
} | } | ||
- | + | ||
+ | function previous_pic{ | ||
+ | |||
} | } | ||
Line 43: | Line 43: | ||
<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"/><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> | ||
+ | |||
+ | <div id="next" onclick="next_pic()">next</div> | ||
<br/> | <br/> |
Revision as of 17:05, 28 October 2011
GALLERY
next