Template:WarHead1
From 2009.igem.org
(Difference between revisions)
(56 intermediate revisions not shown) | |||
Line 20: | Line 20: | ||
#content { | #content { | ||
- | + | ||
} | } | ||
Line 40: | Line 40: | ||
/*non-color styles */ | /*non-color styles */ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
h1 { | h1 { | ||
Line 127: | Line 105: | ||
padding-left: 20pt; | padding-left: 20pt; | ||
} | } | ||
+ | |||
table.month { | table.month { | ||
background: transparent; | background: transparent; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
.day-active { | .day-active { | ||
Line 145: | Line 118: | ||
color: red; | color: red; | ||
} | } | ||
+ | |||
.sztrzalka { | .sztrzalka { | ||
font-family: Georgia, "Times New Roman", Times, serif; | font-family: Georgia, "Times New Roman", Times, serif; | ||
} | } | ||
+ | |||
var { | var { | ||
font-family: lucida sans, tahoma, verdana, arial, sans-serif; | font-family: lucida sans, tahoma, verdana, arial, sans-serif; | ||
Line 154: | Line 129: | ||
padding-bottom: 20pt; | padding-bottom: 20pt; | ||
margin-bottom: 20pt; | margin-bottom: 20pt; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 234: | Line 134: | ||
/*web layout styles*/ | /*web layout styles*/ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#footer-div { | #footer-div { | ||
Line 356: | Line 145: | ||
.glossary_text { | .glossary_text { | ||
text-align: justify; | text-align: justify; | ||
+ | width: 100%; | ||
} | } | ||
Line 380: | Line 170: | ||
float: left; | float: left; | ||
padding-bottom: 20px; | padding-bottom: 20px; | ||
+ | left: -1px; | ||
} | } | ||
Line 402: | Line 193: | ||
margin-left: 0px; | margin-left: 0px; | ||
} | } | ||
- | |||
- | |||
.war_menu_frame_bottom { | .war_menu_frame_bottom { | ||
- | width: | + | width: 229px; |
height: 91px; | height: 91px; | ||
background:url(https://static.igem.org/mediawiki/2009/7/70/War_menu_frame_bottom.png) no-repeat; | background:url(https://static.igem.org/mediawiki/2009/7/70/War_menu_frame_bottom.png) no-repeat; | ||
position: relative; | position: relative; | ||
float: left; | float: left; | ||
+ | left: -1px; | ||
} | } | ||
Line 430: | Line 220: | ||
left: 15px; | left: 15px; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 448: | Line 227: | ||
left: 40px; | left: 40px; | ||
float: left; | float: left; | ||
+ | |||
} | } | ||
Line 458: | Line 238: | ||
} | } | ||
- | #war_menu li.main a { | + | #war_menu li.main a, #war_menu li.main .selflink { |
height: 36px; | height: 36px; | ||
background: url(https://static.igem.org/mediawiki/2009/2/2c/War_button_main.png) no-repeat; | background: url(https://static.igem.org/mediawiki/2009/2/2c/War_button_main.png) no-repeat; | ||
Line 468: | Line 248: | ||
width: 100%; | width: 100%; | ||
font-size: 14px; | font-size: 14px; | ||
+ | color: black; | ||
} | } | ||
Line 479: | Line 260: | ||
} | } | ||
- | #war_menu li.sub a { | + | |
+ | #war_menu li.main .selflink, #war_menu li.sub .selflink { | ||
+ | color: black; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | #war_menu li.sub a, #war_menu li.sub .selflink { | ||
height: 32px; | height: 32px; | ||
background: url(https://static.igem.org/mediawiki/2009/c/cf/War_button_sub.png) no-repeat; | background: url(https://static.igem.org/mediawiki/2009/c/cf/War_button_sub.png) no-repeat; | ||
- | font-size: | + | font-size: 11px; |
padding-left: 0px; | padding-left: 0px; | ||
padding-right: 0px; | padding-right: 0px; | ||
padding-top: 10px; | padding-top: 10px; | ||
margin: 0 0 0 0; | margin: 0 0 0 0; | ||
+ | color: black; | ||
} | } | ||
- | #war_menu li.sub a, #war_menu li.main a { | + | #war_menu li.sub a, #war_menu li.main a, #war_menu li.main .selflink, #war_menu li.sub .selflink{ |
display: block; | display: block; | ||
width: 100%; | width: 100%; | ||
Line 505: | Line 294: | ||
} | } | ||
- | #war_menu | + | #war_menu ol { |
margin: 0 0 0 0; | margin: 0 0 0 0; | ||
padding: 0 0 0 0; | padding: 0 0 0 0; | ||
Line 525: | Line 314: | ||
} | } | ||
+ | |||
+ | .war_table { | ||
+ | background: transparent; | ||
+ | } | ||
+ | |||
+ | /*turn off title at top.*/ | ||
+ | .firstHeading | ||
+ | { | ||
+ | margin-bottom: 0px; | ||
+ | margin-top: 0px; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2009/b/b9/War_top.png); | ||
+ | width: 975px; | ||
+ | height: 224px; | ||
+ | float : left; | ||
+ | position: relative: | ||
+ | left: 0px; | ||
+ | margin: 0 0 0 0; | ||
+ | padding: 0 0 0 0; | ||
+ | border: none; | ||
+ | font-size: 0px; | ||
+ | } | ||
+ | |||
+ | .menu_item {display: none;} | ||
+ | |||
+ | .menu_item_vis {display: block;} | ||
+ | |||
+ | .gloss {float: right; border: 1; padding: 100;} | ||
</style> | </style> | ||
Line 536: | Line 352: | ||
- | |||
+ | <script> | ||
+ | function skrypt() { | ||
- | < | + | document.getElementById('firstHeading').innerHTML=" "; |
- | <div id="war_menu"> | + | |
- | <div class="war_menu_frame"> | + | var s = document.location.pathname; |
- | < | + | if (s=="/Team:Warsaw/Team") { |
+ | document.getElementById('team_submenu').className = "menu_item_vis"; | ||
+ | } | ||
+ | else {document.getElementById('team_submenu').className = "menu_item";}; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | <body onload="skrypt()"> | ||
+ | <script type="text/javascript"> | ||
+ | <!-- | ||
+ | function switchMenu(obj,name) { | ||
+ | |||
+ | name = typeof(name) != 'undefined' ? name : "menu_item"; | ||
+ | |||
+ | document.getElementById('team_submenu').style.display = "none"; | ||
+ | document.getElementById('project_submenu').style.display = "none"; | ||
+ | document.getElementById('modelling_submenu').style.display = "none"; | ||
+ | document.getElementById('lab_submenu').style.display = "none"; | ||
+ | |||
+ | var el = document.getElementById(obj); | ||
+ | if ( el.style.display != "none" ) { | ||
+ | //el.style.display = "none"; | ||
+ | if (document.getElementById) { // DOM3 = IE5, NS6 | ||
+ | document.getElementById(obj).style.display = 'none'; | ||
+ | } | ||
+ | else { | ||
+ | if (document.layers) { // Netscape 4 | ||
+ | document.obj.display = 'none'; | ||
+ | } | ||
+ | else { // IE 4 | ||
+ | document.all.obj.style.display = 'none'; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | else { | ||
+ | //el.style.display = "block"; | ||
+ | if (document.getElementById) { | ||
+ | /* DOM3 = IE5, NS6 */ | ||
+ | document.getElementById(obj).style.display = 'block'; | ||
+ | } | ||
+ | else { | ||
+ | if (document.layers) { // Netscape 4 | ||
+ | document.obj.display = 'block'; | ||
+ | } | ||
+ | else { // IE 4 | ||
+ | document.all.obj.style.display = 'block'; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | //--> | ||
+ | |||
+ | </script> | ||
+ | </html> | ||
+ | <html><div id="war_menu"> | ||
+ | <div class="war_menu_frame"></html> | ||
+ | <ol> | ||
<li class="main">[[Team:Warsaw|Home page]] | <li class="main">[[Team:Warsaw|Home page]] | ||
</li> | </li> | ||
- | <li class="main">[[Team:Warsaw/Team| | + | <html> |
- | + | <li class="main" onClick="switchMenu('team_submenu','menu_item')"><a name="team" style="cursor: hand; cursor: pointer;">The Team</a> | |
- | <li class="sub" | + | </li></html> |
- | <li class="sub">[[Team:Warsaw/Team/Miecznikowa|The M. Group]] | + | <div name="menu_item" id="team_submenu" style="display: {{{team}}};"> |
- | <li class="sub">[[Team:Warsaw/Team/Pawinskiego|The P. Group]]</ | + | <li class="sub">[[Team:Warsaw/Team|About us]] |
- | <li class="main"> | + | <li class="sub">[[Team:Warsaw/Team/Supervisors|Supervisors]] |
- | <li class="sub">[[Team:Warsaw/Project/introduction|Introduction]] | + | <li class="sub">[[Team:Warsaw/Team/Miecznikowa|The M. Group]] |
- | <li class="sub">[[Team:Warsaw/Project/ | + | <li class="sub">[[Team:Warsaw/Team/Pawinskiego|The P. Group]] |
- | <li class="sub">[[Team:Warsaw/Project/ | + | </div> |
- | <li class="sub">[[Team:Warsaw/Bibliography|Bibliography]]</ | + | <html><li class="main" onClick="switchMenu('project_submenu')"><a name="project" style="cursor: hand; cursor: pointer;">The Project</a></li></html> |
- | <li class="main">[[Team:Warsaw/ | + | |
- | <li class="sub">[[Team:Warsaw/Modelling | + | <div name="menu_item" id="project_submenu" style="display: {{{project}}};"> |
- | <li class="sub">[[Team:Warsaw/Modelling/ | + | <li class="sub">[[Team:Warsaw/Project/introduction|Introduction]] |
- | <li class="sub">[[Team:Warsaw/Modelling/ | + | <li class="sub">[[Team:Warsaw/Project/invasion|Invasiveness]] |
- | <li class="sub">[[Team:Warsaw/Modelling/ | + | <li class="sub">[[Team:Warsaw/Project/endosome|Endosome Module]] |
- | <li class="main"> | + | <li class="sub">[[Team:Warsaw/Project/cytoplasm|Cytoplasmatic Module]] |
- | <li class="sub">[[Team:Warsaw/Notebook|Notebook]] | + | <li class="sub">[[Team:Warsaw/Project/future|Future plans]] |
- | <li class="sub">[[Team:Warsaw/protocols|Protocols]] | + | <li class="sub">[[Team:Warsaw/Bibliography|Bibliography]] |
- | <li class="sub">[[Team:Warsaw/Resources|Resources]]</ | + | </div> |
+ | <li class="main">[[Team:Warsaw/results|Results]] | ||
+ | <html><li class="main" onClick="switchMenu('modelling_submenu')"><a name="modelling" style="cursor: hand; cursor: pointer;">Modelling</a></li></html> | ||
+ | <div name="menu_item" id="modelling_submenu" style="display: {{{modelling}}}"> | ||
+ | <li class="sub">[[Team:Warsaw/Modelling|System Overview]] | ||
+ | <li class="sub">[[Team:Warsaw/Modelling/Apoptosis|Apoptosis]] | ||
+ | <li class="sub">[[Team:Warsaw/Modelling/Structural|Structural]] | ||
+ | <li class="sub">[[Team:Warsaw/Modelling/Gene_Networks|Gene Networks]] | ||
+ | <li class="sub">[[Team:Warsaw/Modelling/Invasiveness|Invasiveness]] | ||
+ | </div> | ||
+ | <html><li class="main" onClick="switchMenu('lab_submenu')"><a name="lab" style="cursor: hand; cursor: pointer;">Lab Work</a></li></html> | ||
+ | <div name="menu_item" id="lab_submenu" style="display: {{{lab}}}"> | ||
+ | <li class="sub">[[Team:Warsaw/Notebook|Notebook]] | ||
+ | <li class="sub">[[Team:Warsaw/protocols|Protocols]] | ||
+ | <li class="sub">[[Team:Warsaw/Resources|Resources]] | ||
+ | </div> | ||
<li class="main">[[Team:Warsaw/Parts|Submitted Parts]]</li> | <li class="main">[[Team:Warsaw/Parts|Submitted Parts]]</li> | ||
<li class="main">[[Team:Warsaw/Glossary|Glossary]]</li> | <li class="main">[[Team:Warsaw/Glossary|Glossary]]</li> | ||
<li class="main">[[Team:Warsaw/Biosafety|Biosafety]]</li> | <li class="main">[[Team:Warsaw/Biosafety|Biosafety]]</li> | ||
<li class="main">[[Team:Warsaw/Human|Human Practices]]</li> | <li class="main">[[Team:Warsaw/Human|Human Practices]]</li> | ||
- | |||
<li class="main">[[Team:Warsaw/Acknowledgements|Acknowledgements]]</li> | <li class="main">[[Team:Warsaw/Acknowledgements|Acknowledgements]]</li> | ||
- | </ | + | </ol> |
- | </div> | + | <html></div> |
- | <div class="war_menu_frame_bottom"></div> | + | <div class="war_menu_frame_bottom"> </div> |
- | </div> | + | </div></html> |
<div id="war_content"> | <div id="war_content"> |
Latest revision as of 03:19, 22 October 2009