Template:WarHead1
From 2009.igem.org
(Difference between revisions)
m |
|||
Line 221: | Line 221: | ||
display : none; | display : none; | ||
border: 1px solid black; | border: 1px solid black; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 431: | Line 423: | ||
#war_topbar { | #war_topbar { | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Line 534: | Line 519: | ||
background: transparent; | 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; | ||
+ | } | ||
+ | |||
+ | |||
</style> | </style> | ||
Line 544: | Line 547: | ||
</script> | </script> | ||
+ | <script type="text/javascript"> | ||
+ | <!-- | ||
+ | function switchMenu(obj,name) { | ||
+ | |||
+ | name = typeof(name) != 'undefined' ? name : "menu_item"; | ||
+ | |||
+ | //var m=document.getElementsByName(name); | ||
+ | var m=document.getElementsByTagName("div"); | ||
+ | for (var i=0;i<m.length;i++) | ||
+ | { | ||
+ | //alert(m[i].getAttribute("name")); | ||
+ | if (m[i].getAttribute("name")==name) if(m[i].style.display!="none") if (m[i].id!=obj) m[i].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'; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | } | ||
+ | |||
+ | qs=parent.document.URL; | ||
+ | if (qs.indexOf('#')>0) document.getElementById("strains").style.display = 'block'; | ||
+ | //--> | ||
+ | </script> | ||
</html> | </html> | ||
Line 554: | Line 608: | ||
<li class="main">[[Team:Warsaw|Home page]] | <li class="main">[[Team:Warsaw|Home page]] | ||
</li> | </li> | ||
- | <li class="main">[[Team:Warsaw/Team|The Team]] | + | <li class="main" onclick="switchMenu('team_submenu')">[[Team:Warsaw/Team|The Team]] |
</li> | </li> | ||
+ | <div name="menu_item" id="team_submenu" style="display: none"> | ||
<li class="sub" onmouseover>[[Team:Warsaw/Team/Supervisors|Supervisors]]</li> | <li class="sub" onmouseover>[[Team:Warsaw/Team/Supervisors|Supervisors]]</li> | ||
<li class="sub">[[Team:Warsaw/Team/Miecznikowa|The M. Group]]</li> | <li class="sub">[[Team:Warsaw/Team/Miecznikowa|The M. Group]]</li> | ||
<li class="sub">[[Team:Warsaw/Team/Pawinskiego|The P. Group]]</li> | <li class="sub">[[Team:Warsaw/Team/Pawinskiego|The P. Group]]</li> | ||
+ | </div> | ||
<li class="main">[[Team:Warsaw/Project/introduction|The Project]]</li> | <li class="main">[[Team:Warsaw/Project/introduction|The Project]]</li> | ||
<li class="sub">[[Team:Warsaw/Project/introduction|Introduction]]</li> | <li class="sub">[[Team:Warsaw/Project/introduction|Introduction]]</li> |
Revision as of 13:58, 13 October 2009