Template:Paris/Menu

From 2008.igem.org

(Difference between revisions)
 
(206 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
-
pre {font-size: 1.2em}
 
-
span.keyword {color: #0000FF}
 
-
span.comment {color: #228B22}
 
-
span.string {color: #A020F0}
 
-
span.untermstring {color: #B20000}
 
-
span.syscmd {color: #B28C00}
 
-
#menu {
+
body {
-
height: 208px;
+
background: #69c;
-
background: url(https://static.igem.org/mediawiki/2008/4/4c/Panoramique.jpg) no-repeat center;
+
}
}
-
#menu ul{
+
 
-
list-style: none;
+
#content {
-
padding-top: 11px;
+
padding: 0px 5px;
}
}
-
#menu li{
+
 
-
display: inline;
+
#p-logo a{
-
padding: 3px;
+
color: transparent;
-
border: none;
+
-
background: none;
+
}
}
-
#menu a {
+
 
-
font-size: 10pt;
+
h1.firstHeading {
-
font-family: Lucida Grande, Verdana, Arial, Sans-Serif;
+
display: none;
-
text-decoration: none;
+
-
color: #CFE4E7;
+
}
}
-
#menu a:hover {
+
 
-
color: #CFE4E7;
+
#menu {
 +
margin: 0;
 +
position: relative;
 +
left: 70px;
 +
top: -26px;
 +
padding: 0;
}
}
-
#nav, #nav ul {
+
#menu ul {
-
position: relative;
+
margin: 0;
-
margin: 0 auto; /* purpose: allow centering ul table */
+
padding: 0;
-
padding: 0;
+
list-style: none;
-
display: table /* purpose: ul doesn't stretch width 100% */
+
text-align: center;
}
}
-
#nav li {
+
#menu li {
-
display: table-cell; /* purpose: li behaves like table-cell */
+
margin: 0;
-
position: relative; /* purpose: non-overlap li elements in ul */
+
padding: 0;
-
list-style: none; /* purpose: remove default html list-style */
+
display: inline;
}
}
-
#nav li a {
+
#menu li a {
-
display: block; /* purpose: non-overlap div on a */
+
margin: 0;
-
margin: 0 1px 0 0; /* purpose: spacing main menu items */
+
padding: 0 8px;
-
padding: 4px 16px;
+
font: 1.5em Arial, sans-serif;
-
background-color: #649cd7;
+
color: white;
-
color: #FFF;
+
text-decoration: none;
-
text-align: center;
+
border: dashed 1px transparent;
-
text-decoration: none; /* purpose: remove underline from a */
+
-
font: bold 13px arial;
+
}
}
-
#nav li a:hover {
+
#menu li a:hover, #menu li a:focus, #menu li a:active {
-
background-color: #d4e2ef;
+
border: dashed 1px white;
-
color: black;
+
}
}
-
#nav div {
+
#menu li:not(:last-child) a:after {
-
position: absolute; /* purpose: li of div doesn't spread out */
+
padding-left: 8px;
-
display: none;
+
content: ">";
-
width: 10em;
+
-
opacity: 0.8;
+
-
filter: alpha(opacity=80);
+
-
border: 1px solid #5970B2;
+
-
background: #EAEBD8;
+
}
}
-
#nav span a, #nav div a {
+
#links {
-
position: relative;
+
float: right;
-
display: block; /* purpose: a's in div have same width */
+
margin: 1em;
-
margin: 0;
+
padding: 0.8em;
-
padding: 5px 10px;
+
border: dotted 1px #69c;
-
text-align: left;
+
width: 13em;
-
font: 11px arial;
+
background: #fff;
-
}
+
}
-
+
-
#nav span a:hover, #nav div a:hover {
+
-
background-color: #d4e2ef;
+
-
color: #000;
+
-
}
+
-
#nav span div {
+
#links span {
-
position: relative;
+
font-weight: bold;
-
margin: 0;
+
}
-
border: none; /* purpose: reset border to none */
+
-
border-top: 1px solid #5970B2; /* purpose: add a seperator */
+
-
border-bottom: 1px solid #5970B2; /* purpose: add a seperator */
+
-
opacity: 1.0; /* purpose: opacity already 0.8 by #nav div */
+
-
filter: alpha(opacity=100); /* purpose: opacity already 80 by #nav div */
+
-
}
+
-
+
-
#nav span div a {
+
-
text-indent: 10px;
+
-
}
+
-
+
-
#nav span div span div a {
+
-
text-indent: 20px;
+
-
}
+
-
#nav .expand {
+
.button {
-
background-image: url('https://static.igem.org/mediawiki/2008/e/ef/Icon-expand.png');
+
font-size: 1.1em;
-
background-repeat: no-repeat;
+
font-weight: bold;
-
background-position: 95% 50%;
+
cursor:pointer;
 +
display: inline;
 +
color: white;
 +
background: #69c;
 +
margin: 10px;
 +
padding: 4px 8px
 +
border: 10px solid f00;
 +
-webkit-border-radius: 5px;
 +
-moz-border-radius: 5px
}
}
-
#nav .collapse {
+
pre {font-size: 1.2em}
-
background-image: url('https://static.igem.org/mediawiki/2008/c/cd/Icon-collapse.png');
+
span.keyword {color: #0000FF}
-
background-repeat: no-repeat;
+
span.comment {color: #228B22}
-
background-position: 95% 50%;
+
span.string {color: #A020F0}
-
}
+
span.untermstring {color: #B20000}
 +
span.syscmd {color: #B28C00}
</style>
</style>
-
<script type="text/javascript" src="http://student.kuleuven.be/~s0173901/scripts/jquery.js"></script>
 
<script type="text/javascript">
<script type="text/javascript">
 +
function toggle(layer){
 +
layer=document.getElementById(layer);
 +
layer.style.display=((layer.style.display=="none") ? "block" : "none");
 +
}
-
function ddmsie() {
+
function toggleNext(el) {
-
$("#nav ul").css('display', 'inline-block');
+
var next=el.nextSibling;
-
$("#nav li").css('display', 'inline');
+
while(next.nodeType != 1) next=next.nextSibling;
-
$("#nav a").css('display', 'inline-block');
+
next.style.display=((next.style.display=="none") ? "block" : "none");
-
$("#nav a").hover(function () {$(this).css('background-color', '#d4e2ef')},
+
-
function () {$(this).css('background-color', '#649cd7')});
+
-
$("#nav div a").css('display', 'block');
+
-
$("#nav div").css('left', '0');
+
-
$("#nav div").css('top', '100%');
+
-
$("#nav span div").css('top', '0');
+
}
}
-
function ddmozilla() {
+
function getElementsByTagAndClassName(tag,cname) {
-
+
var tags=document.getElementsByTagName(tag);
 +
var cEls=new Array();
 +
for (i=0; i<tags.length; i++) {
 +
  var rE = new RegExp("(^|\s)" + cname + "(\s|$)");
 +
  if (rE.test(tags[i].className)) {
 +
  cEls.push(tags[i]);
 +
  }
 +
  }
 +
return cEls;
}
}
-
+
function toggleNextByTagAndClassName(tag,cname) {
-
function ddnav() {
+
var ccn="button";
-
$("#nav li").hover(
+
clickers=getElementsByTagAndClassName(tag,cname);
-
function () {
+
for (i=0; i<clickers.length; i++) {
-
$(this).find("div:first").css('display', 'inline');},
+
  clickers[i].className+=" "+ccn;
-
function () {
+
  clickers[i].onclick=function() {toggleNext(this)}
-
$(this).find("div:first").css('display', 'none');}
+
  toggleNext(clickers[i]);
-
);
+
}
-
+
}
-
$("#nav span > a").toggle(
+
window.onload=function(){
-
function () {
+
toggleNextByTagAndClassName('div','toggleswitch');
-
$(this).removeClass("#nav expand").addClass("#nav collapse");
+
-
$(this).css('background-color', '#99AAFF');
+
-
$(this).parent().find("div:first").css('display', 'block');},
+
-
function () {
+
-
$(this).removeClass("#nav collapse").addClass("#nav expand");
+
-
$(this).hover(
+
-
function () {
+
-
$(this).css('background-color', '#d4e2ef');},
+
-
function () {
+
-
$(this).css('background-color', '#649cd7');}
+
-
);
+
-
$(this).parent().find("div:first").css('display', 'none');
+
-
}
+
-
).addClass("#nav expand");
+
}
}
-
 
-
$(function () {
 
-
if(jQuery.browser.msie) ddmsie();
 
-
if(jQuery.browser.mozilla) ddmozilla();
 
-
ddnav();
 
-
});
 
</script>
</script>
-
<div align="center" id="menu"></div><br />
 
-
<div align="center" id="nav">
 
-
<ul>
 
-
 
-
<li><a href="https://2008.igem.org/Team:Paris">Home</a></li>
 
-
 
-
<li><a href="https://2008.igem.org/Team:Paris/Team">Team</a>
 
-
<div>
 
-
<a href="https://2008.igem.org/Team:Paris/Team">Introduction</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Team/Students">Students</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Team/Instructors">Instructors</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Team/Adisors">Advisors</a>
 
-
        <a href="mailto:igem08paris@ml.free.fr?subject=Contact">Contact</a>
 
-
</div>
 
-
</li>
 
-
 
-
<li><a href="https://2008.igem.org/Team:Paris/Project">Project</a>
 
-
<div>
 
-
<a href="https://2008.igem.org/Team:Paris/Project">Introduction</a>
 
-
<span><a>Modules</a>
 
-
<div>
 
-
<a href="https://2008.igem.org/Team:Paris/Project/Oscillations">Oscillations</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Project/FIFO">FIFO</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Project/Synchronisation">Synchronisation</a>
 
-
</div>
 
-
</span>
 
-
</div>
 
-
</li>
 
-
 
-
<li><a href="https://2008.igem.org/Team:Paris/Parts">Parts</a>
 
-
<div>
 
-
<a href="https://2008.igem.org/Team:Paris/Parts">Parts</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Parts/Plastest">Measurement</a>
 
-
</div>
 
-
</li>
 
-
 
-
<li><a>Modeling</a>
 
-
<div>
 
-
<a href="https://2008.igem.org/Team:Paris/Modeling">Introduction</a>
 
-
        <span><a>BOB approach</a>
 
-
<div>
 
-
<a href="https://2008.igem.org/Team:Paris/Modeling/BOB">Model Establishment</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Modeling/BOB/Simulations">Simulations</a>
 
-
</div>
 
-
        </span>
 
-
<span><a>APE approach</a>
 
-
<div>
 
-
<a href="https://2008.igem.org/Team:Paris/Modeling/hill_approach">Model</a>
 
-
                <a href="https://2008.igem.org/Team:Paris/Modeling/Programs">Complexations</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Modeling/estimation">Estimation</a>
 
-
</div>
 
-
</span>
 
-
<a href="https://2008.igem.org/Team:Paris/Modeling/BOB/Akaike">Model comparison</a>
 
-
 
-
        </div>
 
-
</li>
 
-
 
-
<li><a href="https://2008.igem.org/Team:Paris/Notebook">Notebook</a>
 
-
<div>
 
-
<a href="https://2008.igem.org/Team:Paris/Notebook">Calendar</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Notebook/Freezer">Freezer</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Notebook/Oligo">Oligos</a>
 
-
<a href="https://2008.igem.org/Team:Paris/Notebook/Protocols">Protocols</a>
 
-
</div>
 
-
</li>
 
-
<li>
 
-
 
-
<li><a>External Links</a>
 
-
<div>
 
-
<a href="http://igem-paris.org">iGEM Paris</a>
 
-
<a href="http://biosynthetique.free.fr/">SynBioSys</a>
 
-
</div>
 
-
</li>
 
-
</ul>
+
<div id="header"><a href="https://2008.igem.org/Team:Paris"><img src="https://static.igem.org/mediawiki/2008/c/c7/ParisBanner.jpg"/></a></div>
-
</div>
+
<div id="menu"><ul>
 +
<li><a href="https://2008.igem.org/Team:Paris/Project">Project</a></li>
 +
<li><a href="https://2008.igem.org/Team:Paris/Analysis">Analysis</a></li>
 +
<li><a href="https://2008.igem.org/Team:Paris/Construction">Construction</a></li>
 +
<li><a href="https://2008.igem.org/Team:Paris/Characterization">Characterization</a></li>
 +
<li><a href="https://2008.igem.org/Team:Paris/Perspectives">Perspectives</a></li>
 +
</ul></div>
</html>
</html>
-
<br />
+
{|cellspacing="5" cellpadding="10" style="margin-top: 3px; background:#649CD7; width: 965px;"
-
{|cellspacing="5" cellpadding="10" style="background:#649CD7; width: 965px;"
+
|-valign="top"
|-valign="top"
-
|style="background:#ffffff"|
+
|style="background:#fff"|

Latest revision as of 07:30, 30 October 2008