Gifu/head

From 2014.igem.org

(Difference between revisions)
 
(132 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<!--main content -->
 
<head>
<head>
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Script-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/css">
-
<style type="text/css">
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script></script>
 +
 
-
#up{background-color:transparent;
+
<style type="text/css">
-
width:800px;
+
#up{
-
height:200px;
+
  text-align:center;
-
  margin:0;
+
  position:relative;  
-
position:fixed;
+
top:-20px;   
 +
  margin-left:auto;
 +
  margin-right:auto;
 +
 
}
}
-
#up ul{margin:0}
 
-
#up li{ list-style:none;}
 
-
#up li a{
 
-
display:block;
+
.nonborder {
-
background-repeat:no-repeat;
+
  border:none;
-
background-image:url(https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png);
+
  outline:none;
-
background-attachment:fixed;
+
}
-
z-index:10}
+
-
#up li a:hover{
+
</style>
-
width:80px;
+
<script type="text/javascript">
-
height:80px;
+
-
display:block;
+
-
background-repeat:no-repeat;
+
-
background-image:url(https://static.igem.org/mediawiki/2014/e/e4/Menu_up_hover.png);
+
-
z-index:10}
+
 +
var imgObj = new Image();
 +
imgObj.src = "https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png";
-
#menu1:hover
 
-
{
 
-
background-position:90px 70px;}
 
-
#menu2
+
function changeMapImage(imgPath) {
-
{background-position:210px 105px;}
+
document.getElementById('map').src = imgPath;
-
#menu1:hover
+
}
-
{background-position:210px 105px;}
+
</script>
-
#menu3
 
-
{background-position:335px 120px;}
 
-
#menu3:hover
 
-
{background-position:335px 120px;}
 
-
#menu4
 
-
{background-position:465px 120px;}
 
-
#menu5:hover
 
-
{background-position:465px 120px;}
 
-
#menu5
 
-
{background-position:590px 105px;}
 
-
#menu5:hover
 
-
{background-position:590px 105px;}
 
-
#menu6
 
-
{background-position:710px 70px;}
 
-
#menu6:hover
 
-
{background-position:710px 70px;}
 
-
 
-
 
-
</style>
 
</head>
</head>
<body>
<body>
-
 
<div id="up">
<div id="up">
-
<ul>
+
<p>
-
<li><a id="menu1" href="" title="Home"></a></li>
+
<img src="https://static.igem.org/mediawiki/2014/0/0e/Head6.png" width="1000" height="166">
-
<li><a id="menu2" href="" title="Team"></a></li>
+
<img id="map" src="https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png" width="799" height="99" usemap="#map" alt="head" name=”rollover”  />
-
<li><a id="menu3" href="" title="Project"></a></li>
+
<map name="map" id="map">
-
<li><a id="menu4" href="" title="Notebook"></a></li>
+
  <area  shape="rect"  onFocus="this.blur();" class="nonborder" coords="71,45,165,88" href="https://2014.igem.org/Team:Gifu"  
-
<li><a id="menu5" href="" title="Result"></a></li>
+
onMouseOver="changeMapImage('https://static.igem.org/mediawiki/2014/c/c6/Menu_hover_home.png')" onMouseOut="changeMapImage('https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png')" alt="home"/>
-
<li><a id="menu6" href="" title="More"></a></li>
+
<area shape="rect"  onFocus="this.blur();" class="nonborder" coords="184,45,278,88" href="https://2014.igem.org/Team:Gifu/Members%26Attributions" onMouseOver="changeMapImage('https://static.igem.org/mediawiki/2014/2/27/Menu_hover_team.png')" onMouseOut="changeMapImage('https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png')" alt="team"/>  
-
</ul></div>
+
<area shape="rect"  onFocus="this.blur();" class="nonborder" coords="296,45,390,88" href="https://2014.igem.org/Team:Gifu/Projects/Circular%26RNA"  onMouseOver="changeMapImage('https://static.igem.org/mediawiki/2014/a/ae/Menu_hover_project.png')" onMouseOut="changeMapImage('https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png')" alt="project"/>  
-
 
+
<area shape="rect"  onFocus="this.blur();" class="nonborder"  coords="407,45,502,88" href="https://2014.igem.org/Team:Gifu/Protocol" onMouseOver="changeMapImage('https://static.igem.org/mediawiki/2014/4/4d/Menu_hover_note.png')" onMouseOut="changeMapImage('https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png')" alt="note"/>  
-
 
+
<area shape="rect" onFocus="this.blur();" class="nonborder" coords="518,45,613,88" href="https://2014.igem.org/Team:Gifu/Parts" onMouseOver="changeMapImage('https://static.igem.org/mediawiki/2014/e/e1/Menu_hover_result.png')" onMouseOut="changeMapImage('https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png')" alt="result"/>
 +
<area shape="rect" onFocus="this.blur();" class="nonborder" coords="631,45,724,88" href="https://2014.igem.org/Gifu/discussion-safety" onMouseOver="changeMapImage('https://static.igem.org/mediawiki/2014/f/fd/Menu_hover_more.png')" onMouseOut="changeMapImage('https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png')" alt="more"/>
 +
</map></p></div>
</body></html>
</body></html>

Latest revision as of 07:44, 17 October 2014

head home team project note result more