Gifu/head

From 2014.igem.org

(Difference between revisions)
 
(118 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:auto;
+
  position:relative;  
-
position:fixed;
+
top:-20px;
-
text-align:center;
+
  margin-left:auto;
-
}
+
  margin-right:auto;
-
#up ul{margin:0}
+
 
-
#up li {
+
-
width:800px;
+
-
height:200px;
+
-
margin:auto;
+
-
background-repeat:no-repeat;
+
-
text-align:center;
+
-
background-image:url(https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png)
+
-
background-position:center top;
+
}
}
-
#up li a:hover{  
+
.nonborder {
-
width:80px;
+
  border:none;
-
height:80px;
+
  outline:none;
-
display:block;
+
-
background-repeat:no-repeat;
+
-
background-image:url(https://static.igem.org/mediawiki/2014/e/e4/Menu_up_hover.png);
+
}
}
 +
</style>
 +
<script type="text/javascript">
-
#menu1:hover
+
var imgObj = new Image();
-
{
+
imgObj.src = "https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png";
-
background-position:90px 70px;}
+
-
#menu2:hover
+
function changeMapImage(imgPath) {
-
{background-position:210px 105px;}
+
document.getElementById('map').src = imgPath;
 +
}
 +
</script>
-
#menu3:hover
 
-
{background-position:335px 120px;}
 
-
#menu5:hover
 
-
{background-position:465px 120px;}
 
-
 
-
 
-
#menu5:hover
 
-
{background-position:590px 105px;}
 
-
 
-
#menu6:hover
 
-
{background-position:710px 70px;}
 
-
 
-
 
-
</style>
 
</head>
</head>
<body>
<body>
-
<ul><li><a id="menu1" href="" title="Home"></a></li></ul>
+
<div id="up">
-
 
+
<p>
-
 
+
<img src="https://static.igem.org/mediawiki/2014/0/0e/Head6.png" width="1000" height="166">
-
 
+
<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”  />
-
 
+
<map name="map" id="map">
 +
  <area  shape="rect"  onFocus="this.blur();" class="nonborder" coords="71,45,165,88" href="https://2014.igem.org/Team:Gifu"  
 +
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"/>
 +
<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"/>
 +
<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