Template:Team:IBB Pune/slideshow
From 2009.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | <html | + | <html> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | <head> | ||
+ | <meta http-equiv="content-type" content="text/html;charset=utf-8" /> | ||
+ | <script type="text/javascript"><!-- | ||
+ | var delay=7000 | ||
+ | var ie4=document.all | ||
+ | var curindex=0 | ||
+ | var totalcontent=0 | ||
+ | function get_total(){ | ||
+ | if (ie4){ | ||
+ | while (eval("document.all.content"+totalcontent)) | ||
+ | totalcontent++ | ||
+ | } | ||
+ | else{ | ||
+ | while (document.getElementById("content"+totalcontent)) | ||
+ | totalcontent++ | ||
+ | } | ||
+ | } | ||
+ | function contract_all(){ | ||
+ | for (y=0;y<totalcontent;y++){ | ||
+ | if (ie4) | ||
+ | eval("document.all.content"+y).style.display="none" | ||
+ | else | ||
+ | document.getElementById("content"+y).style.display="none" | ||
+ | } | ||
+ | } | ||
+ | function expand_one(which){ | ||
+ | contract_all() | ||
+ | if (ie4) | ||
+ | eval("document.all.content"+which).style.display="" | ||
+ | else | ||
+ | document.getElementById("content"+which).style.display="" | ||
+ | } | ||
+ | function rotate_content(){ | ||
+ | get_total() | ||
+ | contract_all() | ||
+ | expand_one(curindex) | ||
+ | curindex=(curindex<totalcontent-1)? curindex+1: 0 | ||
+ | setTimeout("rotate_content()",delay) | ||
+ | } | ||
+ | window.onload=rotate_content | ||
+ | //--></script> | ||
</head> | </head> | ||
- | + | <body align:center> | |
- | <body> | + | <div id="content0" style="display:none"> |
- | <div id=" | + | <img src="http://lh5.ggpht.com/_x-FreF2qP_c/StcmDrOboNI/AAAAAAAACBs/txXKvFU_ipE/s800/011-ariel%20view%20IIT%20madras.jpg" width="965px" height="293px" border="0"></div> |
- | + | <div id="content1" style="display:none"> | |
- | + | <img src="http://lh3.ggpht.com/_x-FreF2qP_c/StcmDyToglI/AAAAAAAACB0/cdol0IUAZQk/s800/IIT18.JPG" width="965px" height="293px" border="0"></div> | |
- | + | <div id="content2" style="display:none"> | |
- | + | <img src="http://lh4.ggpht.com/_x-FreF2qP_c/StcmEp0CHpI/AAAAAAAACB8/SzvUFTa8sMU/s800/IIT74.jpg" width="965px" height="293px" border="0"></div> | |
- | + | <div id="content3" style="display:none"> | |
- | + | <img src="http://lh4.ggpht.com/_x-FreF2qP_c/Stcm5MZgzNI/AAAAAAAACCU/ExxhsUxzXmw/s800/frozen%20cherry%20tree.jpg" width="965px" height="293px" border="0"></div> | |
- | + | <div id="content4" style="display:none"> | |
- | + | <img src="http://lh5.ggpht.com/_x-FreF2qP_c/Stcm43_CfBI/AAAAAAAACCM/dtdDS6vX6fw/s800/campus16.jpg" width="965px" height="293px" border="0"></div> | |
- | + | <div id="content5" style="display:none"> | |
- | + | <img src="http://upload.wikimedia.org/wikipedia/commons/2/2b/IITM_Library.JPG" width="965px" height="293px" border="0"></div> | |
- | + | <div id="content6" style="display:none"> | |
- | + | <img src="http://upload.wikimedia.org/wikipedia/commons/9/9a/ChennaiCentral2.JPG" width="965px" height="293px" border="0"></div> | |
- | + | <div id="content7" style="display:none"> | |
+ | <img src="http://www.amitbhawani.com/career/Images/IIT-Madras/IIT-Madras-1.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content8" style="display:none"> | ||
+ | <img src="http://lh4.ggpht.com/_AfWedODKUgs/SEQippW12ZI/AAAAAAAAAgw/uUmBsQe_f_8/DSC01902.JPG" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content9" style="display:none"> | ||
+ | <img src="http://lh6.ggpht.com/_x-FreF2qP_c/StcmDxyXfdI/AAAAAAAACB4/g1F7no9yVeQ/s800/DSCF0008.JPG" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content10" style="display:none"> | ||
+ | <img src="http://lh5.ggpht.com/_x-FreF2qP_c/StcmD4tO14I/AAAAAAAACBw/fejfq_eizu0/s800/Saarang1.JPG" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content11" style="display:none"> | ||
+ | <img src="http://lh5.ggpht.com/_x-FreF2qP_c/Stcm5NoNigI/AAAAAAAACCQ/0g6budvRkKA/s800/IIT44.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content12" style="display:none"> | ||
+ | <img src="http://lh3.ggpht.com/_x-FreF2qP_c/StcyDKUzzvI/AAAAAAAACCc/-_hzMlrpGrM/s800/IIT69.jpg" width="965px" height="293px" border="0"></div> | ||
+ | <div id="content13" style="display:none"> | ||
+ | <img src="http://lh4.ggpht.com/_x-FreF2qP_c/Stc2WOLIQOI/AAAAAAAACCg/h8lihKs3XVU/s800/IMG_0167.JPG" width="965px" height="293px" border="0"></div> | ||
</div> | </div> | ||
- | + | </boy> | |
- | </ | + | |
</html> | </html> |
Revision as of 11:13, 18 October 2009