Template:WarHead1
From 2009.igem.org
(Difference between revisions)
Line 538: | Line 538: | ||
.menu_item {display: none;} | .menu_item {display: none;} | ||
+ | |||
+ | .menu_item_vis {display: block;} | ||
+ | |||
</style> | </style> | ||
<script> | <script> | ||
Line 604: | Line 607: | ||
document.getElementById('firstHeading').innerHTML=" "; | document.getElementById('firstHeading').innerHTML=" "; | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Line 628: | Line 627: | ||
<html> | <html> | ||
<script> | <script> | ||
- | + | var s = document.location.pathname; | |
+ | if (s=="/Team:Warsaw/Team") { | ||
+ | document.getElementById('team_submenu').className = "menu_item_vis"; | ||
+ | } | ||
+ | else {document.write(s);}; | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 13:38, 14 October 2009