Template:Team:USTC Software/Header

From 2010.igem.org

(Difference between revisions)
 
(168 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<link rel="stylesheet" type="text/css" href="http://casualconnect.net/iGEM/overall.css">
+
<head>
-
<script type="text/javascript" src="http://casualconnect.net/iGEM/jquery.easing.min.js"></script>
+
  <style type="text/css">
-
<script type="text/javascript" src="http://casualconnect.net/iGEM/jquery.address-1.2.1.min.js"></script>
+
      body {behavior: url(http://www.xs4all.nl/~peterned/htc/csshover3-source.htc);}
-
<script type="text/javascript" src="http://casualconnect.net/iGEM/jquery.lavalamp.min.js"></script>
+
 
-
<script type="text/javascript">
+
#menubar{
-
$(function() {
+
    position: absolute;
-
$(".current").removeClass("current");
+
    top: 0px;
-
$('.lavaLampBottomStyle [rel='+$.address.value().substr(1) +']').parent().addClass("current");
+
}
-
+
 
-
var pages = ["home", "idea", "project", "notebook", "downloads","resources","human_practice","team"];
+
#menubar li a{
-
$("#tabs").lavaLamp({
+
    color:black;
-
fx: "backout",
+
}
-
speed: 700,
+
 
-
click: function(event, obj) {
+
#menubar li a:hover {
-
$.address.value($(obj).find('a').attr('rel'));  
+
    color:#8f6620;
-
if($("#home").length !== 0) {
+
    font-weight: bold;
-
return false;
+
}
-
}
+
 
-
else {
+
#menubar li.selected a {
-
return true;
+
    color:#292f2f;
-
}
+
}
-
}
+
 
-
});
+
#top-section { height: 20px; margin-top: -5px; margin-left: auto; margin-right: auto; margin-bottom: 0 !important; margin-bottom: 10px; padding:0; border: none;}
-
+
 
-
$.address.change(function(event) {
+
#globalWrapper { background-color: transparent; border: none; margin: 0; padding: 0;}
-
var currAddr = $.address.value().substr(1);
+
 
-
var page = event.path.substring(1);
+
#search-controls { overflow:hidden; display:block; background: none; position: absolute; top: -100px; right: -100px;}
-
v = $('.lavaLampBottomStyle [rel='+page+']').parent();
+
 
-
$(".lavaLampBottomStyle").trigger("move", v);
+
#p-logo { height:1px; overflow:hidden; display: none;}
-
if($.inArray(page, pages) != -1) {
+
 
-
var margin = $(".slide_content").width();
+
.left-menu { width: 400px; display:block; float:left;  border: none;}
-
margin = margin * ($.inArray(page, pages));
+
.left-menu ul { border: none; }
-
margin = margin * -1;
+
 
-
if(currAddr, pages) {
+
#menubar.right-menu { width:300px; display:block; float:left; border: none;}
-
$(".tabslider").stop().animate({
+
.right-menu ul { border: none;}
-
marginLeft: margin + "px"
+
 
-
}, {
+
      .clear {clear:both;}
-
duration: 300
+
body.mediawiki {
-
});
+
background-color: gray;
-
}
+
background-position: center center;
-
else {
+
background-attachment: fixed;
-
$(".tabslider").css("marginLeft: " + margin + "px");  
+
background-repeat: no-repeat;
-
}
+
font-family: Calibri, Verdana, helvetica, sans-serif;
-
}
+
}
-
});
+
h2 {padding: 10px 20px;
-
});
+
font-size: 18px;
-
</script>
+
color #eb8300;
-
+
text-decoration: none;
-
<div id="overallMask">
+
font-weight: bold;}
-
<div id="headerWrapper">
+
border: none;
-
<img src="http://2010.igem.org/wiki/images/a/a4/USTC_Software_logo.png" alt="iGEM USTC 2010">
+
h2 a {color: #eb8300;}
-
<p style="float: right; margin-right: 30px">
+
h3 {padding: 10px 20px;
-
Welcome to<br>
+
font-size: 16px;
-
<span style="margin-left: 2em">USTC iGEM</span>
+
color: #000;
-
</p>
+
font-decoration: none;
-
</div>
+
font-weight: bold;}
-
<div id="contentWrapper">
+
h1.firstHeading {
-
<div class='tabbed_content'>
+
display: none;
-
<div class='tabs'>
+
}
-
<ul class="lavaLampBottomStyle" id="tabs">
+
p {
-
<li>
+
text-align: justify;
-
<a href="http://2010.igem.org/Team:USTC_Software#/home" rel="home">Home</a>
+
}
-
</li>
+
a:link {
-
<li>
+
color: #3300FF;
-
<a href="http://2010.igem.org/Team:USTC_Software#/idea" rel="idea">Idea</a>
+
text-decoration: none
-
</li>
+
}  
-
<li>
+
a:visited {
-
<a href="http://2010.igem.org/Team:USTC_Software#/project" rel="project">Project</a>
+
color:#3300FF;
-
</li>
+
text-decoration: none
-
<li>
+
}
-
<a href="http://2010.igem.org/Team:USTC_Software#/notebook" rel="notebook">Notebook</a>
+
a:hover {
-
</li>
+
                        color: #eb8300;
-
<li>
+
text-decoration: none
-
<a href="http://2010.igem.org/Team:USTC_Software#/downloads" rel="downloads">Downloads</a>
+
}
-
</li>
+
a:active {
-
<li>
+
color:#f29400;
-
<a href="http://2010.igem.org/Team:USTC_Software#/resources" rel="resources">Resources</a>
+
text-decoration: none
-
</li>
+
}
-
<li>
+
#bodyContent { width: 970px; margin: 250px 0px 0px 0px; background-color:white;}
-
<a href="http://2010.igem.org/Team:USTC_Software#/human_practice" rel="human_practice">Human Practice</a>
+
                #content {padding-left: 2px; width: 970px; background-color:white;}
-
</li>
+
table#team_members { text-align: justify; border: 0; }
-
<li>
+
table#team_members h2, table#team_members h3 { clear: both; }
-
<a href="http://2010.igem.org/Team:USTC_Software#/team" rel="team">Team</a>
+
#content * a:hover {text-decoration:none;}
-
</li>
+
#main_wrapper {
-
</ul>
+
                        position:absolute; left:0px; top:0px;
-
</div>
+
margin: 0;
-
<div id="sponsorWrapper">
+
width: 969px;
-
</html>{{Team:USTC_Software/Sidebar}}<html>
+
height: 246px;
-
</div>
+
align: center;
-
<div id="otherContent">
+
border-style: solid;
 +
                        border-color: white;
 +
}
 +
#header {
 +
position:absolute; left:0px; top:0px;
 +
margin: 0;
 +
width: 969px;
 +
height: 250px;
 +
align: center;
 +
                      background-repeat: no-repeat;
 +
                      background-image: url(http://2010.igem.org/wiki/images/3/38/USTC_Software_header8_finish.jpg);
 +
                      }
 +
 
 +
#navigation {
 +
position:absolute; left:0px; top:157px; width:793px; height:69px;
 +
z-index:100; background-color: transparent; float: left;
 +
color: #0000FF;
 +
}
 +
               
 +
#menu * {
 +
        width: 960px;
 +
margin-top: 10px;
 +
padding: 0;
 +
}
 +
 
 +
#menu {
 +
behavior: url(http://www.xs4all.nl/~peterned/htc/csshover3-source.htc); <!-- fuer ie6 -->
 +
font-family: calibri, verdana, sans-serif;
 +
font-size: 18px;
 +
background-color: transparent;
 +
float:left;
 +
padding: 10px 0 0 0;
 +
}
 +
 
 +
#menu ul {
 +
float: left;
 +
list-style: none;
 +
}
 +
 
 +
#menu ul li {
 +
background-color:transparent;
 +
        position:relative;
 +
float:left;
 +
list-style: none;
 +
padding: 10px 15px 0 0;
 +
        font-weight: bold;
 +
        width: auto;
 +
}
 +
 
 +
#menu a {
 +
color: #c7807c;
 +
display: inline;
 +
text-decoration: none;
 +
}
 +
 
 +
#menu a:visited {
 +
color:#c7807c;
 +
text-decoration: none
 +
}
 +
 
 +
#menu a:hover {
 +
color: white;
 +
}
 +
 
 +
#menu ul li ul {
 +
display: none;
 +
position: absolute;
 +
left: -20px;
 +
        width: 155px;
 +
        heigth: 1%;
 +
font-size: 12px;
 +
opacity: 0.8;
 +
list-style: none;
 +
        top: 19px;
 +
        padding-top: 9px;
 +
        z-index:500;
 +
}
 +
 
 +
#menu ul li:hover ul {
 +
display: inline;
 +
        background-position: bottom;
 +
}
 +
 
 +
#menu ul li ul li {
 +
width: 100%;
 +
list-style: none;
 +
        background-color: #000;
 +
        margin: -1px;
 +
        padding: 0 0 0 5px;
 +
        display: inline;
 +
}
 +
 
 +
<!-- contents -->
 +
.leftcontent{
 +
    width: 300px;
 +
    float: left;
 +
    height: 500px;
 +
}
 +
 
 +
</style>
 +
</head>
 +
 +
 
 +
 
 +
<!-- ############################# BODY!!!!! #################################### -->
 +
 
 +
<body>
 +
<div id="main_wrapper">
 +
<div id="header">
 +
<div id="navigation">
 +
<div id="menu" style="position:static">
 +
<ul>
 +
<li id="mainHome"><a class="aMain" href="http://2010.igem.org/Team:USTC_Software/home">Home</a></li>
 +
<li id="mainProject"><a class="aProject" href="http://2010.igem.org/Team:USTC_Software/Features">Project</a>
 +
<ul>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/Features">Introduction</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/User_Interface">User Interface Design</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/MoDeL">MoDeL</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/Simulation">Algorithm</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/resources">Resources</a></li>
 +
</ul>
 +
<li id="mainModel"><a class="aModel" href="http://2010.igem.org/Team:USTC_Software/MoDeL">MoDeL</a>
 +
<ul>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/MoDeL">One-Minute Introduction</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/model_features">Features</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/model_lang">Standardization</a></li>
 +
                        <li><a href="http://2010.igem.org/Team:USTC_Software/model_future">Future Work</a></li>
 +
</ul>
 +
<li id="mainDemo"><a class="aDemo" href="http://2010.igem.org/Team:USTC_Software/downloads">Demo</a>
 +
<ul>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/downloads">Overview of Demos</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/Transfer function of Part:BBa_F2620">pLux-LuxR repression system</a></li>
 +
                        <li><a href="http://2010.igem.org/Team:USTC_Software/Toggle-Switch">Toggle-Switch</a></li>
 +
                        <li><a href="http://2010.igem.org/Team:USTC_Software/Repressilator">Repressilator</a></li>
 +
</ul>
 +
 
 +
<li id="mainNotebook"><a class="aNotebook" href="http://2010.igem.org/Team:USTC_Software/notebook">Notebook</a> </li>
 +
<li id="mainHumanPractice"><a class="aHumanPractice" href="http://2010.igem.org/Team:USTC_Software/human_practice">Human Practice</a>
 +
<ul>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/human_practice">The C Project</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/safety">Safety</a></li>
 +
              </ul>
 +
<li id="mainTeam"><a class="aTeam" href="http://2010.igem.org/Team:USTC_Software/team">Team</a>  
 +
<ul>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/team">Overview</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/Students">Students</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/Instructors">Instructors</a></li>
 +
<li><a href="http://2010.igem.org/Team:USTC_Software/iGEM Teams">Collaboration</a></li>
 +
                        <li><a href="http://2010.igem.org/Team:USTC_Software/attribution">Attribution & Contributions</a></li>
 +
                        <li><a href="http://2010.igem.org/Team:USTC_Software/acknowledgments">Acknowledgments</a></li>
 +
</ul>
 +
</li>
 +
</ul>
 +
 
 +
</div><!-- end drop menu -->
 +
</div> <!-- end navigation -->
 +
</div>
 +
</div>
 +
<!-- For IE 6 -->
 +
<script type="text/javascript">
 +
window.onload = function() {
 +
      var lis = document.getElementsByTagName('li');
 +
      for(i = 0; i < lis.length; i++) {
 +
            var li = lis[i];
 +
            if (li.id == 'mainTeam' || li.id == 'mainProject' ) {
 +
                  li.onmouseover = function() { this.getElementsByTagName('ul').item(0).style.display = 'block'; }
 +
                  li.onmouseout = function() { this.getElementsByTagName('ul').item(0).style.display = 'none'; }
 +
            }
 +
      }
 +
}
 +
</script>
 +
</body></html>

Latest revision as of 05:38, 28 November 2010