Team:Korea U Seoul/Templates:header

From 2010.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
  <head>
  <head>
-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
 
-
<script type="text/javascript">
 
-
  $(document).ready(function(){
 
-
 
-
    $(function(){
 
-
    var path = location.pathname.substring(1);
 
-
    var last = path.split("/");
 
-
    if ( last[1] ) {
 
-
      $('#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() {
 
-
    $('#headover').stop().animate({height:'150px',top:'0px'},1000);
 
-
    });
 
-
 
-
    $('#menu').mouseleave(function() {
 
-
    $('.listhead').not('.curlink').css("color","#ffffff");
 
-
    $('.listmain').not('.curlink').css("color","#dddddd");
 
-
    $('#headover ul').fadeOut(500);
 
-
    $('#headover').stop().animate({height:'50px',top:'100px'},1000);
 
-
    });
 
-
 
-
    $('.listhead').mouseover(function(){
 
-
    $('.listhead').not('.curlink').css("color","#ffffff");
 
-
    $(this).css("color","#444444");
 
-
    $('#headover ul').css("display","none");
 
-
    var vActive = $(this).attr("id");
 
-
    $('.'+vActive).stop(true, true).fadeIn(500);
 
-
    });
 
-
 
-
    $('.listmain').mouseover(function(){
 
-
    $('.listmain').not('.curlink').css("color","#dddddd");
 
-
    $(this).css("color","#ea8828");
 
-
    });
 
-
 
-
    $('#headover').mouseleave(function(){
 
-
    $('.listmain').not('.curlink').css("color","#dddddd");
 
-
    });
 
-
 
-
  });
 
-
  </script>
 
   <style type="text/css">
   <style type="text/css">
Line 57: Line 12:
   height: 100px;
   height: 100px;
   border: none;
   border: none;
-
   width:910px;
+
   width:970px;
   height:20px}
   height:20px}
Line 82: Line 37:
   #footer-box {
   #footer-box {
-
   width:900px;}
+
   width:970px;}
   body {
   body {
Line 91: Line 46:
   #content {
   #content {
-
     width: 900px;
+
     width: 970px;
     border: none;
     border: none;
     font-family: helvetica, arial, sans-serif;
     font-family: helvetica, arial, sans-serif;
Line 97: Line 52:
   #title {
   #title {
-
     width:900px;
+
     width:970px;
     height:55px;
     height:55px;
     position: relative;
     position: relative;
Line 132: Line 87:
   #menu {
   #menu {
-
     width:900px;
+
     width:970px;
     height:150px;
     height:150px;
     position: relative;
     position: relative;

Latest revision as of 08:12, 25 October 2010