Team:HKU-Hong Kong
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
<html> | <html> | ||
- | <head> | + | <head> |
- | < | + | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
- | + | <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","#01DF01"); | ||
+ | } | ||
+ | else { | ||
+ | $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#01DF01"); | ||
+ | } | ||
+ | }); | ||
- | + | $('#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","#01DF01"); | |
+ | }); | ||
+ | |||
+ | $('#headover').mouseleave(function(){ | ||
+ | $('.listmain').not('.curlink').css("color","#dddddd"); | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
+ | <style type="text/css"> | ||
+ | |||
+ | a:link {color:#04B404;} | ||
+ | a:visited {color:#04B404;} | ||
+ | a:hover {color:#04B404;} | ||
+ | a:active {color:#04B404;} | ||
+ | |||
+ | #top-section { | ||
+ | background-color: #000000; | ||
+ | height: 100px; | ||
+ | border: none; | ||
+ | width:910px; | ||
+ | height:20px} | ||
+ | |||
+ | #p-logo { | ||
+ | position: absolute; | ||
+ | display: none;} | ||
+ | |||
+ | #search-controls { | ||
+ | display: none;} | ||
+ | |||
+ | #menubar.left-menu { | ||
+ | position: absolute; | ||
+ | top:0px; | ||
+ | left:0px;} | ||
+ | |||
+ | #menubar.right-menu { | ||
+ | position: absolute; | ||
+ | top:0px; | ||
+ | right:0px;} | ||
+ | |||
+ | |||
+ | #menubar a:active,#menubar a:hover,#menubar a:link,#menubar a:visited { | ||
+ | color: #04B404;} | ||
+ | |||
+ | #footer-box { | ||
+ | position: relative; | ||
+ | top:400px; | ||
+ | left: 0px; | ||
+ | color: #000000; | ||
+ | width:900px;} | ||
+ | |||
+ | body { | ||
+ | background-color: #000000} | ||
+ | |||
+ | .firstHeading { | ||
+ | display: none;} | ||
+ | |||
+ | #content { | ||
+ | width: 900px; | ||
+ | border: none; | ||
+ | font-family: georgia, helvetica, arial, sans-serif; | ||
+ | background-color:#000000; | ||
+ | color: #FFFFFF} | ||
+ | |||
+ | #title { | ||
+ | width:900px; | ||
+ | height:55px; | ||
+ | position: relative; | ||
+ | top: 0px; | ||
+ | left: 0px;} | ||
+ | |||
+ | #paralogo { | ||
+ | width:600px; | ||
+ | height:50px; | ||
+ | position: relative; | ||
+ | top: 0px; | ||
+ | left: 0px;} | ||
+ | |||
+ | |||
+ | #igemlogo { | ||
+ | width:100px; | ||
+ | height:50px; | ||
+ | position:absolute; | ||
+ | top:0px; | ||
+ | left:420px;} | ||
+ | |||
+ | #csynbilogo { | ||
+ | width:300px; | ||
+ | height:50px; | ||
+ | position:absolute; | ||
+ | top:0px; | ||
+ | left:670px;} | ||
+ | |||
+ | #belink a { | ||
+ | text-decoration:none;} | ||
+ | |||
+ | #mblink { | ||
+ | width:205px; | ||
+ | height:16px; | ||
+ | position: absolute; | ||
+ | top: 42px; | ||
+ | font-size:1em; | ||
+ | left: 697px; | ||
+ | font-weight:500;} | ||
+ | |||
+ | #mblink a { | ||
+ | text-decoration:none;} | ||
+ | |||
+ | #menu { | ||
+ | width:900px; | ||
+ | height:150px; | ||
+ | position: relative; | ||
+ | top: 20px; | ||
+ | left: 0px;} | ||
+ | |||
+ | #menuback { | ||
+ | width:100px; | ||
+ | height:150px; | ||
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | left: 0px; | ||
+ | background-color: #01DF01} | ||
+ | |||
+ | #headpic { | ||
+ | width:800px; | ||
+ | height:500px; | ||
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | left: 100px; | ||
+ | background-image: url('http://lh6.ggpht.com/-lr4PeisGgQM/SPRjO-VGCLI/AAAAAAAADdA/Mu2pdLkZ4N0/s800/R0010181_bw.jpg'); } | ||
+ | |||
+ | #headover { | ||
+ | width: 800px; | ||
+ | height:50px; | ||
+ | position: absolute; | ||
+ | top: 450px; | ||
+ | left: 0px; | ||
+ | background: url(https://static.igem.org/mediawiki/2010/d/d8/Imperialigemheadoverone.png) 0px 0px no-repeat; } | ||
+ | |||
+ | a { | ||
+ | outline:none;} | ||
+ | |||
+ | #headtit{ | ||
+ | font-family: georgia, helvetica, arial, sans-serif; | ||
+ | font-size: 1.2em; | ||
+ | color: #ffffff; | ||
+ | position: absolute; | ||
+ | top: 0.5em; | ||
+ | right: 1.4em;} | ||
+ | |||
+ | .dark{ | ||
+ | color: #dddddd;} | ||
+ | |||
+ | .highlight{ | ||
+ | color: #01DF01;} | ||
+ | |||
+ | #menulist{ | ||
+ | position: absolute; | ||
+ | top: 16px; | ||
+ | left: 5px; | ||
+ | list-style: none;} | ||
+ | |||
+ | #menulist li{ | ||
+ | height: 30px; | ||
+ | } | ||
+ | |||
+ | #menulist li a{ | ||
+ | font-weight: 200; | ||
+ | font-size: 1.2em; | ||
+ | text-decoration: none; | ||
+ | font-family: georgia, 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; | ||
+ | width:10em; | ||
+ | top:-0.2em; | ||
+ | left: 10em; | ||
+ | list-style:none;} | ||
+ | |||
+ | #headover ul li{ | ||
+ | height: 2.4em; | ||
+ | } | ||
+ | |||
+ | #headover ul li a{ | ||
+ | font-weight: 100; | ||
+ | font-size: 1.2em; | ||
+ | text-decoration: none; | ||
+ | font-family: georgia, helvetica, arial, sans-serif; | ||
+ | color: #dddddd;} | ||
+ | |||
+ | </style> | ||
+ | </head> | ||
+ | <body> | ||
+ | <div id='title'> | ||
+ | <div id='paralogo'> | ||
+ | <a href='https://2011.igem.org/Team:HKU-Hong_Kong'> | ||
+ | <img src='https://static.igem.org/mediawiki/2011/7/77/Logo-hku100.jpg'> | ||
+ | </a> | ||
+ | </div> | ||
+ | <div id='igemlogo'> | ||
+ | <a href='https://2011.igem.org/Main_Page'> | ||
+ | <img src='http://www3.imperial.ac.uk/pls/portallive/docs/1/69949748.JPG'> | ||
+ | </a> | ||
+ | </div> | ||
+ | <div id='csynbilogo'> | ||
+ | <a href='http://www0.hku.hk/biochem/'> | ||
+ | <img id="csbl" src='http://100.hku.hk/images/slogan.jpg'> | ||
+ | </a> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id='menu'> | ||
+ | <div id='menuback'> | ||
+ | <ul id='menulist'> | ||
+ | <li><a href='#' class='listhead' id='project'>Project</a></li> | ||
+ | <li><a href='#' class='listhead' id='plan'>Plan</a></li> | ||
+ | <li><a href='#' class='listhead' id='results'>Results</a></li> | ||
+ | <li><a href='#' class='listhead' id='extra'>Extras</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | <div id='headpic'> | ||
+ | <div id='headover'> | ||
+ | <p id='headtit'>Super Silencer<span class='dark'> <span class='highlight'>|</span> Prepare to be silenced</span></p> | ||
+ | <ul class='project'> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Project' class='listmain' id='results'>Home</a></li> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Process' class='listmain' id='results'>Process</a></li> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Modules' class='listmain' id='results'>Modules</a></li> | ||
+ | <ul class='project'> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Human_Practice' class='listmain' id='results'>Human Practice</a></li> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Diary' class='listmain' id='project'>Diary</a></li> | ||
+ | </ul> | ||
+ | </ul> | ||
+ | <ul class='plan'> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Modelling' class='listmain' id='results'>Modelling</a></li> | ||
+ | <li><a href='https://2010.igem.org/Team:Imperial_College_London/BioBricks' class='listmain' id='results'>BioBricks</a></li> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Lab_Diaries' class='listmain' id='results'>Lab Diaries</a></li> | ||
+ | <ul class='plan'> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Safety' class='listmain' id='results'>Safety</a></li> | ||
+ | </ul> | ||
+ | </ul> | ||
+ | <ul class='team'> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Team_Profile' class='listmain' id='results'>Profile</a></li> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Team_Perks ' class='listmain' id='results'>Perks</a></li> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/History' class='listmain' id='results'>HKU 100</a></li> | ||
+ | <ul class='team'> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Professors' class='listmain' id='results'>Professors & Advisors</a></li> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Videos' class='listmain' id='results'>Videos</a></li> | ||
+ | </ul> | ||
+ | </ul> | ||
+ | <ul class='results'> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Results' class='listmain' id='results'>Experimental Results</a></li> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Parts' class='listmain' id='results'>Registry Parts</a></li> | ||
+ | </ul> | ||
+ | </ul> | ||
+ | <ul class='extra'> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Bloopers' class='listmain' id='results'>Bloopers</a></li> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/School_Workshops' class='listmain' id='results'>School Workshops</a></li> | ||
+ | <ul class='extra'> | ||
+ | <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Acknowledgments' class='listmain' id='results'>Acknowledgments</a></li> | ||
+ | <li><a href='https://2010.igem.org/Team:Imperial_College_London/Glossary' class='listmain' id='results'>Glossary</a></li> | ||
+ | <li><a href='https://2010.igem.org/Team:Imperial_College_London/Sitemap' class='listmain' id='results'>Sitemap</a></li> | ||
+ | </ul> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </body> | ||
+ | </html> |
Revision as of 06:04, 1 August 2011