Template:SJTU10-header

From 2010.igem.org

(Difference between revisions)
Line 2: Line 2:
<head>
<head>
<script type="text/Javascript" language="text/Javascript">
<script type="text/Javascript" language="text/Javascript">
-
function animatedbanner(id)
+
function switchcellimg(imgid)
{
{
-
var i=1;
+
switchcase (imgid)
-
for(i=1;i<=3;i++)
+
{
-
{
+
case 1:document.mbrightimg.src=""
-
  if(id==i)
+
document.mbrightlink.href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/project#bg"
-
  {
+
break
-
    document.getElementById("abpic"+i).display="block"
+
case 2:document.mbrightimg.src=""
-
  }
+
document.mbrightlink.href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/project#nav"
-
  else
+
break
-
  {
+
case 3:document.mbrightimg.src=""
-
    document.getElementById("abpic"+i).display="none"
+
document.mbrightlink.href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/result"
-
  }
+
break
-
}
+
}
 +
}
 +
function mbleftcellglow(cellid,ismouseover)
 +
{
 +
if(ismouseover)
 +
{
 +
switchcase (cellid)
 +
{
 +
case 1:document.mbleftcellimg1.src="https://static.igem.org/mediawiki/2010/5/5d/SJTU10-mb-Glow1.png"
 +
break
 +
case 2:document.mbleftcellimg2.src="https://static.igem.org/mediawiki/2010/4/4c/SJTU10-mb-Glow2.png"
 +
break
 +
case 3:document.mbleftcellimg3.src="https://static.igem.org/mediawiki/2010/0/05/SJTU10-mb-Glow3.png"
 +
break
 +
}
 +
}
 +
else
 +
{
 +
switchcase (cellid)
 +
{
 +
case 1:document.mbleftcellimg1.src="https://static.igem.org/mediawiki/2010/6/69/SJTU10-mb-Text1.png"
 +
break
 +
case 2:document.mbleftcellimg2.src="https://static.igem.org/mediawiki/2010/e/e2/SJTU10-mb-Text2.png"
 +
break
 +
case 3:document.mbleftcellimg3.src="https://static.igem.org/mediawiki/2010/5/50/SJTU10-mb-Text3.png"
 +
break
 +
}
 +
}
}
}
function switchavt (avtid, MouseIn)
function switchavt (avtid, MouseIn)
Line 129: Line 156:
<style format="text/css">
<style format="text/css">
<!--
<!--
 +
#mainbanner
 +
{
 +
width:779px;
 +
height:313px;
 +
background-image:url('https://static.igem.org/mediawiki/2010/6/6e/SJTU10-col1.png');
 +
}
 +
#mbleft
 +
{
 +
width:243px;
 +
position:relative;
 +
left:20px;
 +
top:13px;
 +
}
 +
#mbrightimg
 +
{
 +
position:relative;
 +
float:right;
 +
right:16px;
 +
top:12px;
 +
width:499px;
 +
height:282px;
 +
}
 +
.mbleftcell
 +
{
 +
width:243px;
 +
}
.contentarea table
.contentarea table
{
{

Revision as of 18:22, 26 October 2010

SJTU-BioX-Shanghai 2010