Team:Korea U Seoul/Templates:header

From 2010.igem.org

(Difference between revisions)
 
(3 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
  <head>
  <head>
-
<script type="text/javascript">
+
  <style type="text/css">
-
  $(document).ready(function(){
+
-
    $(function(){
+
  a:link {color:#20548f;}
-
    var path = location.pathname.substring(1);
+
  a:visited {color:#20548f;}
-
    var last = path.split("/");
+
  a:hover {color:#20548f;}
-
    if ( last[1] ) {
+
  a:active {color:#20548f;}
-
      $('#headover ul li a[href*="' + last[1] + '"]').addClass("curlink").css("color","#ea8828");
+
-
    }
+
-
    else {
+
-
      $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#ea8828");
+
-
    }
+
-
    });
+
-
    $('#menuback').mouseover(function() {
+
  #top-section {
-
    $('#headover').stop().animate({height:'150px',top:'0px'},1000);
+
  background-color: #ffffff;
-
    });
+
  height: 100px;
 +
  border: none;
 +
  width:970px;
 +
  height:20px}
-
    $('#menu').mouseleave(function() {
+
  #p-logo {
-
    $('.listhead').not('.curlink').css("color","#ffffff");
+
  position: absolute;
-
    $('.listmain').not('.curlink').css("color","#dddddd");
+
  display: none;}
-
    $('#headover ul').fadeOut(500);
+
-
    $('#headover').stop().animate({height:'50px',top:'100px'},1000);
+
-
    });
+
-
    $('.listhead').mouseover(function(){
+
  #search-controls {
-
    $('.listhead').not('.curlink').css("color","#ffffff");
+
  display: none;}
-
    $(this).css("color","#444444");
+
-
    $('#headover ul').css("display","none");
+
-
    var vActive = $(this).attr("id");
+
-
    $('.'+vActive).stop(true, true).fadeIn(500);
+
-
    });
+
-
    $('.listmain').mouseover(function(){
+
  #menubar.left-menu {
-
    $('.listmain').not('.curlink').css("color","#dddddd");
+
  position: absolute;
-
    $(this).css("color","#ea8828");
+
  top:0px;
-
    });
+
  left:0px;}
-
    $('#headover').mouseleave(function(){
+
  #menubar.right-menu {
-
    $('.listmain').not('.curlink').css("color","#dddddd");
+
  position: absolute;
-
    });
+
  top:0px;
 +
  right:0px;}
-
   });
+
 
-
  </script>
+
   #menubar a:active,#menubar a:hover,#menubar a:link,#menubar a:visited {
-
 
+
  color: #000000;}
 +
 
 +
  #footer-box {
 +
  width:970px;}
 +
 
 +
  body {
 +
  background-color: #555555}
 +
 
 +
  .firstHeading {
 +
    display: none;}
 +
 
 +
  #content {
 +
    width: 970px;
 +
    border: none;
 +
    font-family: helvetica, arial, sans-serif;
 +
    color: #555555}
 +
 
 +
  #title {
 +
    width:970px;
 +
    height:55px;
 +
    position: relative;
 +
    top: 0px;
 +
    left: 0px;}
 +
 
 +
  #paralogo {
 +
    width:400px;
 +
    height:50px;
 +
    position: relative;
 +
    top: 0px;
 +
    left: 20px;}
 +
 
 +
  #implogo {
 +
    width:200px;
 +
    height:50px;
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 435px;}
 +
 
 +
  #igemlogo {
 +
    width:84px;
 +
    height:50px;
 +
    position:absolute;
 +
    top:0px;
 +
    left:615px;}
 +
 
 +
  #csynbilogo {
 +
    width:205px;
 +
    height:50px;
 +
    position:absolute;
 +
    top:0px;
 +
    left:695px;}
 +
 
 +
  #menu {
 +
    width:970px;
 +
    height:150px;
 +
    position: relative;
 +
    top: 20px;
 +
    left: 0px;}
 +
 
 +
  #menuback {
 +
    width:100px;
 +
    height:150px;
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 0px;
 +
    background-color: #ea8828}
 +
 
 +
  #headpic {
 +
    width:800px;
 +
    height:150px;
 +
    position: absolute;
 +
    top: 0px;
 +
    left: 100px;
 +
    background-image: url('https://static.igem.org/mediawiki/2010/5/54/Imperialigemheadone.jpg'); }
 +
 
 +
  #headover {
 +
    width: 800px;
 +
    height:50px;
 +
    position: absolute;
 +
    top: 100px;
 +
    left: 0px;
 +
    background: url(https://static.igem.org/mediawiki/2010/d/d8/Imperialigemheadoverone.png) 0px 0px no-repeat; }
 +
 
 +
  a {
 +
    outline:none;}
 +
 
 +
  #headtit{
 +
    font-family: helvetica, arial, sans-serif;
 +
    font-size: 1.2em;
 +
    color: #ffffff;
 +
    position: absolute;
 +
    top: 0.5em;
 +
    right: 1.4em;}
 +
 
 +
  .dark{
 +
    color: #dddddd;}
 +
 
 +
  .highlight{
 +
    color: #ea8828;}
 +
 
 +
  #menulist{
 +
    position: absolute;
 +
    top: 16px;
 +
    left: 3px;
 +
    list-style: none;}
 +
 
 +
  #menulist li{
 +
    height: 30px;
 +
    }
 +
 
 +
  #menulist li a{
 +
    font-weight: 100;
 +
    font-size: 1.2em;
 +
    text-decoration: none;
 +
    font-family: helvetica, arial, sans-serif;
 +
    color: #ffffff;}
 +
 
 +
  #headover ul{
 +
    list-style: none;
 +
    display: none;
 +
    position: absolute;
 +
    top: 1.2em;
 +
    left: 0.2em;
 +
    }
 +
 
 +
  #headover ul ul{
 +
    position: absolute;
 +
    top:-0.2em;
 +
    left: 15em;}
 +
 
 +
  #headover ul li{
 +
    height: 2.4em;
 +
    }
 +
 
 +
  #headover ul li a{
 +
    font-weight: 100;
 +
    font-size: 1.2em;
 +
    text-decoration: none;
 +
    font-family: helvetica, arial, sans-serif;
 +
    color: #dddddd;}
   </style>
   </style>
  </head>
  </head>
</html>
</html>

Latest revision as of 08:12, 25 October 2010