|
|
(281 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | [[Image:panoramique.jpg|960px]]
| |
| <html> | | <html> |
| <style type="text/css"> | | <style type="text/css"> |
- | #nav, #nav ul {
| + | |
- | position: relative;
| + | body { |
- | margin: 0 auto; /* purpose: allow centering ul table */
| + | background: #69c; |
- | padding: 0;
| + | |
- | display: table /* purpose: ul doesn't stretch width 100% */
| + | |
| } | | } |
| | | |
- | #nav li { | + | #content { |
- | display: table-cell; /* purpose: li behaves like table-cell */
| + | padding: 0px 5px; |
- | position: relative; /* purpose: non-overlap li elements in ul */
| + | |
- | list-style: none; /* purpose: remove default html list-style */
| + | |
| } | | } |
| | | |
- | #nav li a { | + | #p-logo a{ |
- | display: block; /* purpose: non-overlap div on a */
| + | color: transparent; |
- | margin: 0 1px 0 0; /* purpose: spacing main menu items */
| + | |
- | padding: 4px 16px;
| + | |
- | background-color: #649cd7;
| + | |
- | color: #FFF;
| + | |
- | text-align: center;
| + | |
- | text-decoration: none; /* purpose: remove underline from a */
| + | |
- | font: bold 13px arial;
| + | |
| } | | } |
| | | |
- | #nav li a:hover {
| + | h1.firstHeading { |
- | background-color: #d4e2ef;
| + | display: none; |
- | color: black;
| + | |
| } | | } |
| | | |
- | #nav div { | + | #menu { |
- | position: absolute; /* purpose: li of div doesn't spread out */
| + | margin: 0; |
- | display: none;
| + | position: relative; |
- | width: 10em;
| + | left: 70px; |
- | opacity: 0.8;
| + | top: -26px; |
- | filter: alpha(opacity=80);
| + | padding: 0; |
- | border: 1px solid #5970B2;
| + | |
- | background: #EAEBD8;
| + | |
| } | | } |
| | | |
- | #nav span a, #nav div a {
| + | #menu ul { |
- | position: relative;
| + | margin: 0; |
- | display: block; /* purpose: a's in div have same width */
| + | padding: 0; |
- | margin: 0;
| + | list-style: none; |
- | padding: 5px 10px;
| + | text-align: center; |
- | text-align: left;
| + | } |
- | font: 11px arial;
| + | |
- | }
| + | |
- |
| + | |
- | #nav span a:hover, #nav div a:hover {
| + | |
- | background-color: #d4e2ef;
| + | |
- | color: #000;
| + | |
- | }
| + | |
| | | |
- | #nav span div {
| + | #menu li { |
- | position: relative;
| + | margin: 0; |
- | margin: 0;
| + | padding: 0; |
- | border: none; /* purpose: reset border to none */
| + | display: inline; |
- | 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 { | + | #menu li a { |
- | background-image: url('https://static.igem.org/mediawiki/2008/e/ef/Icon-expand.png');
| + | margin: 0; |
- | background-repeat: no-repeat;
| + | padding: 0 8px; |
- | background-position: 95% 50%;
| + | font: 1.5em Arial, sans-serif; |
| + | color: white; |
| + | text-decoration: none; |
| + | border: dashed 1px transparent; |
| } | | } |
| | | |
- | #nav .collapse { | + | #menu li a:hover, #menu li a:focus, #menu li a:active { |
- | background-image: url('https://static.igem.org/mediawiki/2008/c/cd/Icon-collapse.png');
| + | border: dashed 1px white; |
- | background-repeat: no-repeat;
| + | |
- | background-position: 95% 50%;
| + | |
| } | | } |
| + | |
| + | #menu li:not(:last-child) a:after { |
| + | padding-left: 8px; |
| + | content: ">"; |
| + | } |
| + | |
| + | #links { |
| + | float: right; |
| + | margin: 1em; |
| + | padding: 0.8em; |
| + | border: dotted 1px #69c; |
| + | width: 13em; |
| + | background: #fff; |
| + | } |
| + | |
| + | #links span { |
| + | font-weight: bold; |
| + | } |
| + | |
| + | .button { |
| + | font-size: 1.1em; |
| + | font-weight: bold; |
| + | 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 |
| + | } |
| + | |
| + | 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} |
| </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="nav"> | + | <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> |
- | <ul>
| + | <div id="menu"><ul> |
- | <li>
| + | <li><a href="https://2008.igem.org/Team:Paris/Project">Project</a></li> |
- | <a href="https://2008.igem.org/Team:Paris">Home</a>
| + | <li><a href="https://2008.igem.org/Team:Paris/Analysis">Analysis</a></li> |
- | </li>
| + | <li><a href="https://2008.igem.org/Team:Paris/Construction">Construction</a></li> |
- | <li>
| + | <li><a href="https://2008.igem.org/Team:Paris/Characterization">Characterization</a></li> |
- | <a>The Team</a>
| + | <li><a href="https://2008.igem.org/Team:Paris/Perspectives">Perspectives</a></li> |
- | <div>
| + | </ul></div> |
- | <a href="https://2008.igem.org/Team:Paris/Team">Presentation</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>
| + | |
- | </div>
| + | |
- | </li>
| + | |
- | <li>
| + | |
- | <a>The Project</a>
| + | |
- | <div>
| + | |
- | <a href="https://2008.igem.org/Team:Paris/Project">Summary</a>
| + | |
- | <span>
| + | |
- | <a>The 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/Synchronization">Synchronization</a>
| + | |
- | </div>
| + | |
- | </span>
| + | |
- | <a href="https://static.igem.org/mediawiki/2008/7/78/IGEM_Paris_2008_project.pdf">More...</a>
| + | |
- | </div>
| + | |
- | </li>
| + | |
- | <li>
| + | |
- | <a>Parts Submitted to the Registry</a>
| + | |
- | <div>
| + | |
- | <a href="https://2008.igem.org/Team:Paris/Parts">Parts</a>
| + | |
- | </div>
| + | |
- | </li>
| + | |
- | <li>
| + | |
- | <a>Modeling</a>
| + | |
- | <div>
| + | |
- | <a href="https://2008.igem.org/Team:Paris/Modeling">Modeling</a>
| + | |
- | <a href="https://2008.igem.org/Team:Paris/Modeling/Roadmap">Roadmap</a>
| + | |
- | <a href="https://2008.igem.org/Team:Paris/Modeling/Bibliography">Bibliography</a>
| + | |
- | <a href="https://2008.igem.org/Team:Paris/Modeling/Programs">Our Programs</a>
| + | |
- | <a href="https://2008.igem.org/Team:Paris/Modeling#Estimation_of_parameters">Parameters</a>
| + | |
- | </div>
| + | |
- | </li>
| + | |
- | <li>
| + | |
- | <a>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>
| + | |
- | </div>
| + | |
- | </li>
| + | |
- | <li>
| + | |
- | <a>Links</a>
| + | |
- | <div>
| + | |
- | <a href="http://igem-paris.org">iGEM Paris</a>
| + | |
- | <a href="http://biosynthetique.free.fr/">SynBioSys</a>
| + | |
- | | + | |
- | </div>
| + | |
- | </li>
| + | |
- | </ul> | + | |
- | </div> | + | |
| </html> | | </html> |
- | <br>
| + | {|cellspacing="5" cellpadding="10" style="margin-top: 3px; background:#649CD7; width: 965px;" |
| + | |-valign="top" |
| + | |style="background:#fff"| |