Team:HKU-Hong Kong

From 2011.igem.org

(Difference between revisions)
 
(27 intermediate revisions not shown)
Line 1: Line 1:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
<html>
-
<html xmlns="http://www.w3.org/1999/xhtml">
+
<head>
-
<head>
+
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
<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>
-
<title>Team HKU</title>
+
  <script type="text/javascript">
-
<style type="text/css">
+
  $(document).ready(function(){
-
<!--
+
-
body {
+
-
margin: 0;
+
-
padding: 0;
+
-
color: #FFF;
+
-
font-family: Georgia, "Georgia Italic", "Georgia Bold Italic", "Georgia Bold";
+
-
font-size: 100%;
+
-
line-height: 1.4;
+
-
background-attachment: scroll;
+
-
background-color: #000;
+
-
background-image: none;
+
-
background-repeat: no-repeat;
+
-
background-position: center center;
+
-
}
+
-
/* ~~ Element/tag selectors ~~ */
+
    $(function(){
-
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
+
    var path = location.pathname.substring(1);
-
padding: 0;
+
    var last = path.split("/");
-
margin: 0;
+
    if ( last[1] ) {
-
background-color: #000;
+
      $('#headover ul li a[href*="' + last[1] + '"]').addClass("curlink").css("color","#01DF01");
-
}
+
    }
-
h1, h2, h3, h4, h5, h6, p {
+
    else {
-
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
+
      $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#01DF01");
-
padding-right: 15px;
+
    }
-
padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
+
    });
-
background-color: #000;
+
-
}
+
-
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
+
-
border: none;
+
-
}
+
-
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
+
-
a:link {
+
-
color: #42413C; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
+
-
}
+
-
a:visited {
+
-
color: #6E6C64;
+
-
}
+
-
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
+
-
text-decoration: none;
+
-
}
+
-
/* ~~ this fixed width container surrounds the other divs ~~ */
+
    $('#menuback').mouseover(function() {
-
.container {
+
    $('#headover').stop().animate({height:'150px',top:'0px'},1000);
-
width: 960px;
+
    });
-
background: #FFF;
+
-
margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
+
-
}
+
-
/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
+
    $('#menu').mouseleave(function() {
-
.header {
+
    $('.listhead').not('.curlink').css("color","#ffffff");
-
background-color: #000;
+
    $('.listmain').not('.curlink').css("color","#dddddd");
-
}
+
    $('#headover ul').fadeOut(500);
 +
    $('#headover').stop().animate({height:'50px',top:'500px'},1000);
 +
    });
-
/* ~~ This is the layout information. ~~
+
    $('.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);
 +
    });
-
1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
+
    $('.listmain').mouseover(function(){
 +
    $('.listmain').not('.curlink').css("color","#dddddd");
 +
    $(this).css("color","#01DF01");
 +
    });
-
*/
+
    $('#headover').mouseleave(function(){
 +
    $('.listmain').not('.curlink').css("color","#dddddd");
 +
    });
-
.content {
+
  });
-
padding: 10px 0;
+
  </script>
-
background-color: #000;
+
  <style type="text/css">
-
}
+
-
/* ~~ The footer ~~ */
+
  a:link {color:#04B404;}
-
.footer {
+
  a:visited {color:#04B404;}
-
padding: 10px 0;
+
  a:hover {color:#04B404;}
-
background-color: #000;
+
  a:active {color:#04B404;}
-
}
+
-
/* ~~ miscellaneous float/clear classes ~~ */
+
  #top-section {
-
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
+
  background-color: #000000;
-
float: right;
+
  height: 100px;
-
margin-left: 8px;
+
  border: none;
-
}
+
  width:910px;
-
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
+
  height:20px}
-
float: left;
+
-
margin-right: 8px;
+
-
}
+
-
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
+
-
clear:both;
+
-
height:0;
+
-
font-size: 1px;
+
-
line-height: 0px;
+
-
}
+
-
-->
+
-
</style>
+
-
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
+
-
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
+
-
</head>
+
-
<body>
+
  #p-logo {
 +
  position: absolute;
 +
  display: none;}
-
<div class="container">
+
  #search-controls {
-
   <div class="header"><a href="#"><a href="#"></a>
+
  display: none;}
-
    <!-- end .header --><img name="" src="logo-hku100.jpg" width="256" height="60" alt="" /><img src="slogan.jpg" alt="" width="236" height="33" align="right" /></div>
+
 
-
   <div class="content">
+
  #menubar.left-menu {
-
     <ul id="MenuBar1" class="MenuBarHorizontal">
+
  position: absolute;
-
      <li><a href="#">Home</a>     </li>
+
  top:0px;
-
      <li><a href="#" class="MenuBarItemSubmenu">Team Profile</a>
+
  left:0px;}
-
        <ul>
+
 
-
          <li><a href="#">The Interesting One</a></li>
+
  #menubar.right-menu {
-
          <li><a href="#">The Not So Interesting One</a></li>
+
  position: absolute;
-
        </ul>
+
  top:0px;
-
       </li>
+
  right:0px;}
-
       <li><a class="MenuBarItemSubmenu" href="#">Project</a>
+
 
-
        <ul>
+
 
-
          <li><a class="MenuBarItemSubmenu" href="#">Introduction</a>
+
  #menubar a:active,#menubar a:hover,#menubar a:link,#menubar a:visited {
-
            <ul>
+
  color: #04B404;}
-
              <li><a href="#">Item 3.1.1</a></li>
+
 
-
              <li><a href="#">Item 3.1.2</a></li>
+
  #footer-box {
-
            </ul>
+
  position: relative;
-
          </li>
+
  top:400px;
-
          <li><a href="#">Diary</a></li>
+
  left: 0px;
-
          <li><a href="#">Experiments</a></li>
+
  color: #000000;
-
        </ul>
+
  width:900px;}
-
       </li>
+
 
-
       <li><a href="#">Team Parts</a></li>
+
  body {
-
       <li><a href="#">Modeling</a></li>
+
  background-color: #000000}
-
       <li><a href="#">Safety</a></li>
+
 
-
       <li><a href="#">Attributions</a></li>
+
  .firstHeading {
-
</ul>
+
    display: none;}
-
     <h1>&nbsp;</h1>
+
 
-
    <p>&nbsp;</p>
+
  #content {
-
    <p>&nbsp;</p>
+
    width: 900px;
-
    <h1>Welcome to the wiki page of Team HKU 2011. We are currently still under construction.</h1>
+
    border: none;
-
    <h1>Coming soon: 15th July 2011<!-- end .content --></h1>
+
    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:500px;
 +
    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='https://static.igem.org/mediawiki/2011/5/56/IGEM_logo_%28white_word%29.png'>
 +
    </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='labwork'>Lab Work</a></li>
 +
    <li><a href='#' class='listhead' id='team'>Team</a></li>
 +
    <li><a href='#' class='listhead' id='data'>Data</a></li>
 +
    <li><a href='#' class='listhead' id='gratitude'>Gratitude</a></li>
 +
    </ul>
 +
  </div>
 +
  <div id='headpic'>
 +
    <div id='headover'>
 +
    <p id='headtit'>Super Silencer<span class='dark'> &nbsp;<span class='highlight'>|</span>&nbsp;&nbsp;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'>Overview</a></li>
 +
       <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Description' class='listmain' id='results'>Description</a></li>
 +
      <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Results' class='listmain' id='results'>Results</a></li>
 +
      <ul class='project'>
 +
      <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/BioBricks' class='listmain' id='results'>BioBricks</a></li>
 +
      <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Modelling' class='listmain' id='results'>Modelling</a></li>
 +
      <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Attributions' class='listmain' id='results'>Attributions</a></li>        
 +
      </ul>
 +
    </ul>
 +
    <ul class='labwork'>
 +
      <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Lab_Diaries' class='listmain' id='results'>Lab Diaries</a></li>
 +
      <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Lab_Protocol' class='listmain' id='results'>Lab Protocol</a></li>
 +
      <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/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'>Social Networks</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'></a></li>
 +
       <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Videos' class='listmain' id='results'>Video</a></li>
 +
      </ul>
 +
    </ul>
 +
     <ul class='data'>
 +
      <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Parts' class='listmain' id='results'>Registry Parts</a></li>
 +
      </ul>
 +
    </ul>  
 +
    <ul class='gratitude'>
 +
      <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Sponsors' class='listmain' id='results'>Sponsors</a></li>
 +
      <li><a href='https://2011.igem.org/Team:HKU-Hong_Kong/Acknowledgments' class='listmain' id='results'>Acknowledgments</a></li>
 +
      </ul>
 +
    </ul>
 +
    </div>
 +
  </div>
   </div>
   </div>
-
  <div class="footer">
+
</body>
-
    <p>&nbsp;</p>
+
-
    <!-- end .footer --></div>
+
-
  <!-- end .container --></div>
+
-
<script type="text/javascript">
+
-
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
+
-
</script>
+
-
</body>
+
</html>
</html>

Latest revision as of 13:07, 5 October 2011