Team:Paris/testpage2

From 2008.igem.org

(Difference between revisions)
(New page: 960px <html> <style type="text/css"> #nav, #nav ul { position: relative; margin: 0 auto; - purpose: allow centering ul table: padding: 0; display: tabl...)
 
(16 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;
 
-
margin: 0 auto; /* purpose: allow centering ul table */
 
-
padding: 0;
 
-
display: table /* purpose: ul doesn't stretch width 100% */
 
-
}
 
-
#nav li {
+
#menu {
-
display: table-cell; /* purpose: li behaves like table-cell */
+
height: 208px;
-
position: relative; /* purpose: non-overlap li elements in ul */
+
background: url(https://static.igem.org/mediawiki/2008/4/4c/Panoramique.jpg) no-repeat center;
-
list-style: none; /* purpose: remove default html list-style */
+
}
}
-
 
+
#menu ul{
-
#nav li a {
+
list-style: none;
-
display: block; /* purpose: non-overlap div on a */
+
padding-top: 180px;
-
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;
+
}
}
-
 
+
#menu li{
-
#nav li a:hover {
+
display: inline;
-
background-color: #d4e2ef;
+
padding: 3px;
-
color: black;
+
border: none;
 +
background: none;
}
}
-
 
+
#menu a {
-
#nav div {
+
font-size: 10pt;
-
position: absolute; /* purpose: li of div doesn't spread out */
+
font-family: Lucida Grande, Verdana, Arial, Sans-Serif;
-
display: none;
+
text-decoration: none;
-
width: 10em;
+
color: none;
-
opacity: 0.8;
+
-
filter: alpha(opacity=80);
+
-
border: 1px solid #5970B2;
+
-
background: #EAEBD8;
+
}
}
-
 
+
#menu a:hover {
-
#nav span a, #nav div a {
+
color: none;
-
position: relative;
+
-
display: block; /* purpose: a's in div have same width */
+
-
margin: 0;
+
-
padding: 5px 10px;
+
-
text-align: left;
+
-
font: 11px arial;
+
-
}
+
-
+
-
#nav span a:hover, #nav div a:hover {
+
-
background-color: #d4e2ef;
+
-
color: #000;
+
-
}
+
-
 
+
-
#nav span div {
+
-
position: relative;
+
-
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 {
+
-
background-image: url('https://static.igem.org/mediawiki/2008/e/ef/Icon-expand.png');
+
-
background-repeat: no-repeat;
+
-
background-position: 95% 50%;
+
-
}
+
-
 
+
-
#nav .collapse {
+
-
background-image: url('https://static.igem.org/mediawiki/2008/c/cd/Icon-collapse.png');
+
-
background-repeat: no-repeat;
+
-
background-position: 95% 50%;
+
}
}
</style>
</style>
-
<script type="text/javascript" src="http://student.kuleuven.be/~s0173901/scripts/jquery.js"></script>
+
<center>
-
<script type="text/javascript">
+
<div id=menu>
-
 
+
-
function ddmsie() {
+
-
$("#nav ul").css('display', 'inline-block');
+
-
$("#nav li").css('display', 'inline');
+
-
$("#nav a").css('display', 'inline-block');
+
-
$("#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 ddnav() {
+
-
$("#nav li").hover(
+
-
function () {
+
-
$(this).find("div:first").css('display', 'inline');},
+
-
function () {
+
-
$(this).find("div:first").css('display', 'none');}
+
-
);
+
-
+
-
$("#nav span > a").toggle(
+
-
function () {
+
-
$(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>
+
-
 
+
-
<div align="center" id="nav">
+
<ul>
<ul>
-
<li>
+
<li><a href="https://2008.igem.org/Team:Paris"> _ </a></li>
-
<a href="https://2008.igem.org/Team:Paris">Home</a>
+
-
</li>
+
-
<li>
+
-
<a>The Team</a>
+
-
<div>
+
-
<a href="https://2008.igem.org/Team:Paris/Team/LabsandGroups">Research Labs and Groups</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/Advisors">Advisors</a>
+
-
</div>
+
-
</li>
+
-
<li>
+
-
<a>Road Map</a>
+
-
<div>
+
-
<a href="https://2008.igem.org/Team:Paris/Interesting_Reads">Interesting Reads</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Brainstorm">Brainstorm</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Discussion">Discussion</a>
+
-
<a href="https://2008.igem.org/Team:Paris/SummerHolidays">Summer Holidays</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Concreties">Concrete Ideas</a>
+
-
</div>
+
-
</li>
+
-
<li>
+
-
<a>The Project</a>
+
-
<div>
+
-
<a href="https://2008.igem.org/Team:Paris/Project/Synthetic Biology">Synthetic Biology</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Project">Summary</a>
+
-
<span>
+
-
<a>Components</a>
+
-
<div>
+
-
<a href="https://2008.igem.org/Team:Paris/Project/Input">Input</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Project/Output">Output</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Project/Filter">Filter</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Project/Inverter">Inverter</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Project/Reset">Reset</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Project/CellDeath">Cell Death</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Project/Memory">Memory</a>
+
-
</div>
+
-
</span>
+
-
<a href="https://2008.igem.org/Team:Paris/Literature">Literature</a>
+
-
</div>
+
-
</li>
+
-
<li>
+
-
<a>Parts Submitted to the Registry</a>
+
-
<div>
+
-
<a href="https://2008.igem.org/Team:Paris/Parts">Listing</a>
+
-
<a href="http://partsregistry.org/cgi/partsdb/pgroup.cgi?pgroup=iGEM2008&group=KULeuven">Sandbox</a>
+
-
</div>
+
-
</li>
+
-
<li>
+
-
<a>Modeling</a>
+
-
<div>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/Overview">Overview</a>
+
-
<span>
+
-
<a>Components</a>
+
-
<div>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/Input">Input</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/Output">Output</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/Filter">Filter</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/Inverter">Inverter</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/Reset">Reset</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/CellDeath">Cell Death</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/Memory">Memory</a>
+
-
</div>
+
-
</span>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/FullModel">Full Model</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Model/KineticConstants">Kinetic Constants</a>
+
-
</div>
+
-
</li>
+
-
<li>
+
-
<a>Notebook</a>
+
-
<div>
+
-
<a href="https://2008.igem.org/Team:Paris/Meeting_Calendar">Calendar</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Meeting Reports">Reports</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Freezer">Freezer</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Primers">Primers</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Tools">Tools</a>
+
-
<a href="https://2008.igem.org/Team:Paris/Press">Press</a>
+
-
</div>
+
-
</li>
+
</ul>
</ul>
</div>
</div>
 +
</center>
</html>
</html>
 +
 +
<!-- preserve line breaks -->

Latest revision as of 16:52, 30 July 2008