Team:NYC Software/Templates/nav

From 2011.igem.org

(Difference between revisions)
Line 163: Line 163:
</script>
</script>
 +
<script type="text/javascript">
 +
<!--
 +
var image1=new Image()
 +
image1.src="https://static.igem.org/mediawiki/2011/c/c1/Brooklyn_and_manhattan.jpg"
 +
var image2=new Image()
 +
image2.src="https://static.igem.org/mediawiki/2011/9/99/Horizontal_cultures.png"
 +
//-->
 +
</script>
Line 177: Line 185:
</style>
</style>
<div id="wrap">  
<div id="wrap">  
-
<div id="header"><img align="left" style="margin-bottom:0px; padding:0;" height= 200px; width= 960px; src="https://static.igem.org/mediawiki/2011/c/c1/Brooklyn_and_manhattan.jpg" usemap="#headermap" alt="E. glowli"> </div>  
+
<div id="header">
 +
  <img src="firstcar.gif" name="slide" width="965" height="200" />
 +
 
 +
<script>
 +
<!--
 +
//variable that will increment through the images
 +
var step=1
 +
function slideit(){
 +
//if browser does not support the image object, exit.
 +
if (!document.images)
 +
return
 +
document.images.slide.src=eval("image"+step+".src")
 +
if (step<2)
 +
step++
 +
else
 +
step=1
 +
//call function "slideit()" every 5 seconds
 +
setTimeout("slideit()",5000)
 +
}
 +
slideit()
 +
//-->
 +
</script>
 +
 
 +
</div>  
<map name="headermap">
<map name="headermap">
               <area shape="rect" coords="10,30,250,240" href="https://2011.igem.org/Team:NYC_Software" />
               <area shape="rect" coords="10,30,250,240" href="https://2011.igem.org/Team:NYC_Software" />

Revision as of 00:37, 19 July 2011