Team:AHUT China/Safety

From 2013.igem.org

(Difference between revisions)
Line 93: Line 93:
}
}
</style>
</style>
-
<script language="Javascript">
+
<script type="text/javascript">
-
button1up=new Image(146,235);
+
function MM_swapImgRestore() { //v3.0
-
button1up.src="https://static.igem.org/mediawiki/2013/5/59/11.png";
+
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
-
//鼠标为UP状态时图片大小和图片
+
}
-
button1down=new Image(146,235);
+
function MM_preloadImages() { //v3.0
-
button1down.src="https://static.igem.org/mediawiki/2013/4/4a/1.png";
+
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
-
//鼠标为down状态时图片大小和图片
+
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
-
//-->
+
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
 +
}
 +
 
 +
function MM_findObj(n, d) { //v4.01
 +
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
 +
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
 +
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
 +
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
 +
  if(!x && d.getElementById) x=d.getElementById(n); return x;
 +
}
 +
 
 +
function MM_swapImage() { //v3.0
 +
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
 +
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
 +
}
</script>
</script>
<body background="https://static.igem.org/mediawiki/2013/d/de/Slide2-background.jpg" onLoad="MM_preloadImages('https://static.igem.org/mediawiki/2013/5/59/11.png','https://static.igem.org/mediawiki/2013/7/75/22.png','https://static.igem.org/mediawiki/2013/archive/9/9c/20130923072245%2133.png','https://static.igem.org/mediawiki/2013/9/9c/33.png','https://static.igem.org/mediawiki/2013/8/83/55.png','https://static.igem.org/mediawiki/2013/9/99/66.png')"><div id="apDiv1"><img src="https://static.igem.org/mediawiki/2013/8/84/Safety.png" width="1398" height="302"></div>
<body background="https://static.igem.org/mediawiki/2013/d/de/Slide2-background.jpg" onLoad="MM_preloadImages('https://static.igem.org/mediawiki/2013/5/59/11.png','https://static.igem.org/mediawiki/2013/7/75/22.png','https://static.igem.org/mediawiki/2013/archive/9/9c/20130923072245%2133.png','https://static.igem.org/mediawiki/2013/9/9c/33.png','https://static.igem.org/mediawiki/2013/8/83/55.png','https://static.igem.org/mediawiki/2013/9/99/66.png')"><div id="apDiv1"><img src="https://static.igem.org/mediawiki/2013/8/84/Safety.png" width="1398" height="302"></div>
-
<div id="apDiv2"><a href="https://2013.igem.org/Team:AHUT_China" onmouseover="button1.src=button1up.src" onmouseout="button1.src=button1down.src"><img name="button1" src="https://static.igem.org/mediawiki/2013/4/4a/1.png" width=146 height=235 border=0 onclick="javascript:window.open(this.src);" style="cursor:pointer;"/></a>
+
<div id="apDiv2"><a href="https://2013.igem.org/Team:AHUT_China" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','https://static.igem.org/mediawiki/2013/5/59/11.png',1)"><img src="https://static.igem.org/mediawiki/2013/4/4a/1.png" width="146" height="235" id="Image2"></a></div>
<div id="apDiv3"><a href="https://2013.igem.org/Team:AHUT_China/Team" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','https://static.igem.org/mediawiki/2013/7/75/22.png',1)"><img src="https://static.igem.org/mediawiki/2013/f/fb/2.png" width="153" height="235" id="Image3"></a></div>
<div id="apDiv3"><a href="https://2013.igem.org/Team:AHUT_China/Team" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','https://static.igem.org/mediawiki/2013/7/75/22.png',1)"><img src="https://static.igem.org/mediawiki/2013/f/fb/2.png" width="153" height="235" id="Image3"></a></div>
<div id="apDiv6"><a href="https://2013.igem.org/Team:AHUT_China/Parts" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','https://static.igem.org/mediawiki/2013/archive/9/9c/20130923072245%2133.png',1)"><img src="https://static.igem.org/mediawiki/2013/1/10/3.png" width="144" height="235" id="Image4"></a></div>
<div id="apDiv6"><a href="https://2013.igem.org/Team:AHUT_China/Parts" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','https://static.igem.org/mediawiki/2013/archive/9/9c/20130923072245%2133.png',1)"><img src="https://static.igem.org/mediawiki/2013/1/10/3.png" width="144" height="235" id="Image4"></a></div>

Revision as of 12:58, 23 September 2013

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 无标题文档