Gifu/head

From 2014.igem.org

(Difference between revisions)
 
(113 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>
 +
 
 +
<style type="text/css">
#up{
#up{
-
background-image:url(https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png);
+
  text-align:center;
-
width:800px;
+
  position:relative;  
-
height:200px;
+
top:-20px;
-
display:block;
+
  margin-left:auto;
-
margin:auto;
+
  margin-right:auto;
-
background-position:center top;
+
 
-
background-repeat:no-repeat;
+
-
z-index:10;
+
}
}
-
#up ul{margin:0}
 
-
#up li {
 
-
width:800px;
 
-
height:200px;
 
-
margin:auto;
 
 +
.nonborder {
 +
  border:none;
 +
  outline:none;
}
}
-
#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);
+
-
}
+
 +
var imgObj = new Image();
 +
imgObj.src = "https://static.igem.org/mediawiki/2014/f/f9/Menu_up.png";
-
#menu1:hover
 
-
{
 
-
background-position:90px 70px;}
 
 +
function changeMapImage(imgPath) {
 +
document.getElementById('map').src = imgPath;
 +
}
 +
</script>
-
#menu2:hover
 
-
{background-position:210px 105px;}
 
-
#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>
<div id="up">
<div id="up">
-
<ul><li><a id="menu1" href="" title="Home"></a></li></ul></div>
+
<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