Team:Technion/Template:Navigation

From 2012.igem.org

(Difference between revisions)
 
(53 intermediate revisions not shown)
Line 79: Line 79:
display:none;
display:none;
}
}
-
#content {padding:0px; width: 975px; border:none; background: none;}
+
#content {padding:0px; width: 975px; border: none; background: none;}
#footer-box {
#footer-box {
Line 88: Line 88:
body {
body {
-
background: #000000;  
+
background: #FFFFFF;  
-webkit-background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-size: cover;
 +
        font: normal 12px "Times New Roman", sans-serif;
}
}
-
 
</style>
</style>
<head>
<head>
<style>
<style>
-
.ddcolortabs{
+
/*table styles*/
-
padding: 0;
+
#table1
-
width: 100%;
+
{
-
background: transparent;
+
border-collapse:collapse;
-
voice-family: "\"}\"";
+
-
voice-family: inherit;
+
}
}
-
 
+
#table1 th, #table1 td
-
.ddcolortabs ul{
+
{
-
font: normal 16px "Times New Roman", sans-serif;
+
border: 1px solid black;
-
margin:0;
+
padding:3px 5px 2px 5px;
-
padding:0;
+
text-align: center;
-
list-style:none;
+
-
}
+
-
 
+
-
.ddcolortabs li{
+
-
display:inline;
+
-
margin:0 2px 0 0;
+
-
padding:0;
+
}
}
 +
/* navigation bar styles */
 +
#navbar {
 +
  margin: 0;
 +
  padding: 0;
 +
  height: 1em;
 +
  width: 100%;
 +
  background: transparent; }
 +
#navbar li {
 +
  list-style: none;
 +
  float: left;
 +
  margin:0 2px 0 0;
 +
  background-color: #77C16A ;
 +
  font: normal 16px "Times New Roman", sans-serif; }
 +
#navbar li a {
 +
  display: block;
 +
  margin:0 2px 0 0;
 +
  padding: 4px 8px 2px 7px;
 +
  letter-spacing: 1px;
 +
  color: #fff;
 +
  text-decoration: none; }
 +
#navbar li ul {
 +
  display: none;
 +
  width: 10em; /* Width to help Opera out */
 +
  background-color: #77C16A ;}
 +
#navbar li:hover {
 +
  background-color: #00632d; }
 +
#navbar li:hover ul, #navbar li.hover ul {
 +
  display: block;
 +
  position: absolute;
 +
  margin: 0;
 +
  padding: 0; }
 +
#navbar li:hover li, #navbar li.hover li {
 +
  float: none; }
 +
#navbar li:hover li a, #navbar li.hover li a {
 +
  background-color: #77C16A ;
 +
  border-bottom: 1px solid #fff;
 +
  color: #fff; }
 +
#navbar li li a:hover {
 +
  background-color: #00632d; }
 +
</style>
-
.ddcolortabs a{
+
<script>
-
float:left;
+
// Javascript originally by Patrick Griffiths and Dan Webb.
-
color: white;
+
// http://htmldog.com/articles/suckerfish/dropdowns/
-
background: #77C16A url(media/color_tabs_left.gif) no-repeat left top;
+
sfHover = function() {
-
margin:0 2px 0 0;
+
  var sfEls = document.getElementById("navbar").getElementsByTagName("li");
-
padding:0 0 1px 3px;
+
  for (var i=0; i<sfEls.length; i++) {
-
text-decoration:none;
+
      sfEls[i].onmouseover=function() {
-
letter-spacing: 1px;
+
        this.className+=" hover";
-
}
+
      }
-
 
+
      sfEls[i].onmouseout=function() {
-
.ddcolortabs a span{
+
        this.className=this.className.replace(new RegExp(" hover\\b"), "");
-
float:left;
+
      }
-
display:block;
+
  }
-
background: transparent url(media/color_tabs_right.gif) no-repeat right top;
+
-
padding: 4px 8px 2px 7px;
+
-
}
+
-
 
+
-
.ddcolortabs a span{
+
-
float:none;
+
-
}
+
-
 
+
-
.ddcolortabs a:hover{
+
-
background-color: #00632d;
+
-
}
+
-
 
+
-
.ddcolortabs a:hover span{
+
-
background-color: #00632d;
+
-
}
+
-
 
+
-
.ddcolortabs .selected a, #ddcolortabs .selected a span{ /*currently selected tab*/
+
-
background-color: #00632d;
+
-
}
+
-
 
+
-
.ddcolortabsline{
+
-
clear: both;
+
-
padding: 0;
+
-
width: 100%;
+
-
height: 8px;
+
-
line-height: 8px;
+
-
background: #a2c091;
+
-
border-top: 1px solid #fff; /*Remove this to remove border between bar and tabs*/
+
}
}
 +
if (window.attachEvent) window.attachEvent("onload", sfHover);
 +
</script>
</style>
</style>
</head>
</head>
<body>
<body>
<img src="https://static.igem.org/mediawiki/2012/5/52/Technion_banner.jpg">
<img src="https://static.igem.org/mediawiki/2012/5/52/Technion_banner.jpg">
-
<div id="colortab" class="ddcolortabs">
+
<ul id="navbar">
 +
      <!-- The strange spacing herein prevents an IE6 whitespace bug. -->
 +
        <li><a href="https://2012.igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="27" height="19.5"></a></li>
 +
        <li><a href="https://2012.igem.org/Team:Technion">Home</a></li>
 +
        <li><a href="https://2012.igem.org/Team:Technion/Team">Team</a>
 +
<ul>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Team">Team</a></li>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Team Gallery">Gallery</a></li>
 +
              <li><a href="https://igem.org/Team.cgi?year=2012&team_name=Technion">Team Profile</a></li>
 +
</ul></li>
 +
        <li><a href="https://2012.igem.org/Team:Technion/Project/Description">Project</a>
 +
            <ul>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Project/Description">Project description</a></li>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Project/Overview">Overview</a></li>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Project/YES_gates">YES gates</a></li>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Project/RS">Riboswitch (RS)</a></li>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Project/RNAPs">RNA polymerases</a></li>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Project/Reporter">Reporter system standard</a></li>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Project/Phage">The phage</a></li>
 +
              <li><a href="https://2012.igem.org/Team:Technion/Modeling">Modeling</a></li></ul>
 +
        </li>
 +
        <li><a href="https://2012.igem.org/Team:Technion/Parts">Parts</a></li>
 +
        <li><a href="https://2012.igem.org/Team:Technion/Notebook">Notebook</a></li>
 +
        <li><a href="https://2012.igem.org/Team:Technion/Safety">Safety</a></li>
 +
        <li><a href="https://2012.igem.org/Team:Technion/Attributions">Attributions & Achievements  </a></li>
 +
        <li><a href="https://2012.igem.org/Team:Technion/Human Practices/Articles">Human Practices</a>
<ul>
<ul>
-
<li><a href="https://2012.igem.org/Main_Page"><span><img src="https://static.igem.org/mediawiki/igem.org/d/de/IGEM_basic_Logo_stylized.png" width="27" height="20"></span></a></li>
+
              <li><a href="https://2012.igem.org/Team:Technion/Human Practices/Articles">Articles about us</a>
-
<li><a href="https://2012.igem.org/Team:Technion"><span>Home</span></a></li>
+
              <li><a href="https://2012.igem.org/Team:Technion/Human Practices/High School Lecture">High School lecture</a>
-
<li><a href="https://2012.igem.org/Team:Technion/Team"><span>Team</span></a></li>
+
            </ul> </li>
-
<li><a href="https://igem.org/Team.cgi?year=2012&team_name=Technion"><span>Team Profile</span></a></li>
+
        <li><a href="https://2012.igem.org/Team:Technion/Sponsors">Sponsors & Thanks</a></li>
-
<li><a href="https://2012.igem.org/Team:Technion/Project"><span>Project</span></a></li>
+
      </ul>
-
<li><a href="https://2012.igem.org/Team:Technion/Parts"><span>Parts</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Technion/Modeling"><span>Modeling</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Technion/Notebook"><span>Notebook</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Technion/Safety"><span>Safety</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Technion/Attributions"><span>Attributions</span></a></li>
+
-
<li><a href="https://2012.igem.org/Team:Technion/Judging"><span>Judging</span></a></li>
+
-
<!--<li><a href="https://2012.igem.org/Team:Technion/Tips"><span>Tips</span></a></li>-->
+
-
<li><a href="https://2012.igem.org/Team:Technion/Sponsors"><span>Sponsors</span></a></li>
+
-
</ul>
+
-
</div>
+
<br><br>
<br><br>
</body>
</body>
</html>
</html>

Latest revision as of 21:02, 26 September 2012