Team:HKU-Hong Kong/header

From 2010.igem.org

(Difference between revisions)
 
(25 intermediate revisions not shown)
Line 44: Line 44:
margin:0; padding:0;
margin:0; padding:0;
background:transparent;
background:transparent;
-
font-size:80%;
+
font-size:100%;
}
}
/*---middle col---*/
/*---middle col---*/
#middle {
#middle {
-
margin-left:150px;
+
margin-left:160px;
background:#transparent;
background:#transparent;
-
font-size:80%;
+
font-size:100%;
}
}
Line 74: Line 74:
</style>
</style>
-
<script language="JavaScript">
+
 
 +
<script language="JavaScript" type="text/javascript">
<!--
<!--
-
// PRELOADING IMAGES
 
if (document.images) {
if (document.images) {
-
img_on =new Image(); img_on.src ="https://static.igem.org/mediawiki/2010/1/15/Hku1a.png";  
+
    homebuttonup      = new Image();
-
img_off=new Image(); img_off.src="https://static.igem.org/mediawiki/2010/0/00/Hku1b.png";  
+
    homebuttonup.src   = "https://static.igem.org/mediawiki/2010/1/15/Hku1a.png" ;
 +
    homebuttondown    = new Image() ;
 +
    homebuttondown.src = "https://static.igem.org/mediawiki/2010/0/00/Hku1b.png" ;
-
img1_on =new Image(); img1_on.src =" https://static.igem.org/mediawiki/2010/1/15/Hku1a.png"";  
+
    teambuttonup      = new Image();
-
img1_off=new Image(); img1_off.src=" https://static.igem.org/mediawiki/2010/0/00/Hku1b.png ";  
+
    teambuttonup.src   = "https://static.igem.org/mediawiki/2010/8/8a/Hku2a.png" ;
 +
    teambuttondown    = new Image() ;
 +
    teambuttondown.src = "https://static.igem.org/mediawiki/2010/0/03/Hku2b.png" ;
-
img2_on =new Image(); img2_on.src ="../hi-icons/121.gif";  
+
    ofbuttonup      = new Image();
-
img2_off=new Image(); img2_off.src="../hi-icons/122.gif";  
+
    ofbuttonup.src   = "https://static.igem.org/mediawiki/2010/9/99/Hku3ae.png" ;
 +
    ofbuttondown    = new Image() ;
 +
    ofbuttondown.src = "https://static.igem.org/mediawiki/2010/8/87/Hku3b.png" ;
-
img3_on =new Image(); img3_on.src ="../hi-icons/131.gif";  
+
    projectbuttonup      = new Image();
-
img3_off=new Image(); img3_off.src="../hi-icons/132.gif";  
+
    projectbuttonup.src   = "https://static.igem.org/mediawiki/2010/7/77/Hku4a.png" ;
 +
    projectbuttondown    = new Image() ;
 +
    projectbuttondown.src = "https://static.igem.org/mediawiki/2010/7/77/Hku4b.png" ;
-
img4_on =new Image(); img4_on.src ="../hi-icons/141.gif";  
+
    partbuttonup      = new Image();
-
img4_off=new Image(); img4_off.src="../hi-icons/142.gif";  
+
    partbuttonup.src   = "https://static.igem.org/mediawiki/2010/e/ea/Hku5a.png" ;
 +
    partbuttondown    = new Image() ;
 +
    partbuttondown.src = "https://static.igem.org/mediawiki/2010/7/78/Hku5b.png" ;
-
img5_on =new Image(); img5_on.src ="../hi-icons/151.gif";  
+
    mordbuttonup      = new Image();
-
img5_off=new Image(); img5_off.src="../hi-icons/152.gif";  
+
    mordbuttonup.src   = "https://static.igem.org/mediawiki/2010/5/52/Hku6a.png" ;
 +
    mordbuttondown    = new Image() ;
 +
    mordbuttondown.src = "https://static.igem.org/mediawiki/2010/9/92/Hku6b.png" ;
-
img6_on =new Image(); img6_on.src ="../hi-icons/161.gif";  
+
    notebuttonup      = new Image();
-
img6_off=new Image(); img6_off.src="../hi-icons/162.gif";  
+
    notebuttonup.src   = "https://static.igem.org/mediawiki/2010/3/3a/Hku7a.png" ;
-
}
+
    notebuttondown    = new Image() ;
 +
    notebuttondown.src = "https://static.igem.org/mediawiki/2010/7/7c/Hku7b.png" ;
-
function movr(k) {
+
    safebuttonup      = new Image();
-
if (document.images)
+
    safebuttonup.src   = "https://static.igem.org/mediawiki/2010/d/d1/Hku8a.png" ;
-
   eval('document.img'+k+'.src=img'+k+'_on.src');
+
    safebuttondown    = new Image() ;
-
}
+
    safebuttondown.src = "https://static.igem.org/mediawiki/2010/a/a5/Hku8b.png" ;
-
function mout(k) {
+
    humabuttonup      = new Image();
-
if (document.images)
+
    humabuttonup.src   = "https://static.igem.org/mediawiki/2010/3/3b/Hku9a.png" ;
-
   eval('document.img'+k+'.src=img'+k+'_off.src');
+
    humabuttondown    = new Image() ;
-
}
+
    humabuttondown.src = "https://static.igem.org/mediawiki/2010/0/04/Hku9b.png" ;
-
function handleOver() {
+
    gallbuttonup      = new Image();
-
if (document.images)
+
    gallbuttonup.src   = "https://static.igem.org/mediawiki/2010/e/e8/Hku10a.png" ;
-
   document.imgName.src=img_on.src;
+
    gallbuttondown    = new Image() ;
-
}
+
    gallbuttondown.src = "https://static.igem.org/mediawiki/2010/5/5b/Hku10b.png" ;}
-
function handleOut() {
+
function buttondown( buttonname )
-
if (document.images)  
+
{
-
  document.imgName.src=img_off.src;
+
    if (document.images) {
 +
      document[ buttonname ].src = eval( buttonname + "down.src" );
 +
    }
}
}
-
 
+
function buttonup ( buttonname )
-
//-->
+
{
 +
    if (document.images) {
 +
      document[ buttonname ].src = eval( buttonname + "up.src" );
 +
    }
 +
}
 +
// -->
</script>
</script>
 +
 +
</head>
</head>
Line 132: Line 154:
<div id="left"><div class="column-in">
<div id="left"><div class="column-in">
-
 
+
<a href="https://2010.igem.org/Team:HKU-Hong_Kong"
-
+
  onmouseover="buttonup('homebutton')"
-
<a href="https://2010.igem.org/Team:HKU-Hong_Kong" target="_self"
+
  onmouseout="buttondown('homebutton')">
-
onMouseOver="movr(1);return true;"  
+
<img src="https://static.igem.org/mediawiki/2010/0/00/Hku1b.png" name="homebutton" />
-
onMouseOut="mout(1);return true;"  
+
</a>
-
onClick="return false;"
+
<hr />
-
><img name=img1 width=100%
+
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Team"
-
alt="This image changes when you point at it!"
+
  onmouseover="buttonup('teambutton')"
-
src=" https://static.igem.org/mediawiki/2010/0/00/Hku1b.png"
+
  onmouseout="buttondown('teambutton')">
-
></a>
+
<img src="https://static.igem.org/mediawiki/2010/0/03/Hku2b.png" name="teambutton" />
-
 
+
</a>
-
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Team" target="_self">
+
<hr />
-
<img border="0" alt="testing123!" src="https://static.igem.org/mediawiki/2010/0/03/Hku2b.png" id="b2" width="100%" onmouseover="mouseOver()" onmouseout="mouseOut()" /></a>
+
<a href="https://igem.org/Team.cgi?year=2010&team_name=HKU-Hong_Kong"
-
<a href="https://igem.org/Team.cgi?year=2010&team_name=HKU-Hong_Kong" target="_self">
+
  onmouseover="buttonup('ofbutton')"
-
<img border="0" alt="testing123!" src="https://static.igem.org/mediawiki/2010/8/88/Logosil.png" id="b1" width="100%" height="50px" ="mouseOver()" onmouseout="mouseOut()" /></a>
+
  onmouseout="buttondown('ofbutton')">
-
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Project" target="_self">
+
<img src="https://static.igem.org/mediawiki/2010/8/87/Hku3b.png" name="ofbutton" />
-
<img border="0" alt="testing123!" src="https://static.igem.org/mediawiki/2010/8/88/Logosil.png" id="b1" width="100%" height="50px" onmouseover="mouseOver()" onmouseout="mouseOut()" /></a>
+
</a>
-
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Parts" target="_self">
+
<hr />
-
<img border="0" alt="testing123!" src="https://static.igem.org/mediawiki/2010/8/88/Logosil.png" id="b1" width="100%" height="50px" onmouseover="mouseOver()" onmouseout="mouseOut()" /></a>
+
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Project"
-
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Modeling" target="_self">
+
  onmouseover="buttonup('projectbutton')"
-
<img border="0" alt="testing123!" src="https://static.igem.org/mediawiki/2010/8/88/Logosil.png" id="b1" width="100%" height="50px" onmouseover="mouseOver()" onmouseout="mouseOut()" /></a>
+
  onmouseout="buttondown('projectbutton')">
-
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Notebook" target="_self">
+
<img src="https://static.igem.org/mediawiki/2010/7/77/Hku4b.png" name="projectbutton" />
-
<img border="0" alt="testing123!" src="https://static.igem.org/mediawiki/2010/8/88/Logosil.png" id="b1" width="100%" height="50px" onmouseover="mouseOver()" onmouseout="mouseOut()" /></a>
+
</a>
-
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Safety" target="_self">
+
<hr />
-
<img border="0" alt="testing123!" src="https://static.igem.org/mediawiki/2010/8/88/Logosil.png" id="b1" width="100%" height="50px" onmouseover="mouseOver()" onmouseout="mouseOut()" /></a>
+
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Parts"
-
under construction
+
  onmouseover="buttonup('partbutton')"
 +
  onmouseout="buttondown('partbutton')">
 +
<img src="https://static.igem.org/mediawiki/2010/7/78/Hku5b.png" name="partbutton" />
 +
</a>
 +
<hr />
 +
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Modeling"
 +
  onmouseover="buttonup('mordbutton')"
 +
  onmouseout="buttondown('mordbutton')">
 +
<img src="https://static.igem.org/mediawiki/2010/9/92/Hku6b.png" name="mordbutton" />
 +
</a>
 +
<hr />
 +
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Notebook"
 +
  onmouseover="buttonup('notebutton')"
 +
  onmouseout="buttondown('notebutton')">
 +
<img src="https://static.igem.org/mediawiki/2010/7/7c/Hku7b.png" name="notebutton" />
 +
</a>
 +
<hr />
 +
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/Safety"
 +
  onmouseover="buttonup('safebutton')"
 +
  onmouseout="buttondown('safebutton')">
 +
<img src="https://static.igem.org/mediawiki/2010/a/a5/Hku8b.png" name="safebutton" />
 +
</a>
 +
<hr />
 +
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/humanpractice"
 +
  onmouseover="buttonup('humabutton')"
 +
  onmouseout="buttondown('humabutton')">
 +
<img src="https://static.igem.org/mediawiki/2010/0/04/Hku9b.png" name="humabutton" />
 +
</a>
 +
<hr />
 +
<a href="https://2010.igem.org/Team:HKU-Hong_Kong/gallery"
 +
  onmouseover="buttonup('gallbutton')"
 +
  onmouseout="buttondown('gallbutton')">
 +
<img src="https://static.igem.org/mediawiki/2010/5/5b/Hku10b.png" name="gallbutton" />
 +
</a>
</div></div>
</div></div>

Latest revision as of 06:46, 23 October 2010