Team:Freiburg/test
From 2011.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function hideSubmenu( elem , thisElem){ | function hideSubmenu( elem , thisElem){ | ||
- | thisElem.style.color = "#FF0000"; | + | thisElem.getElementsByTagName('span')[0].style.color = "#FF0000"; |
var submenus= ['sub-team','sub-project']; | var submenus= ['sub-team','sub-project']; | ||
for( var i=0; i<submenus.length; i++){ | for( var i=0; i<submenus.length; i++){ | ||
Line 21: | Line 21: | ||
window.onload = function() { | window.onload = function() { | ||
- | hideSubmenu('sub-home'); | + | hideSubmenu('sub-home', null); |
document.getElementById( "contentSub" ).style.display="none"; | document.getElementById( "contentSub" ).style.display="none"; | ||
document.getElementsByTagName( "p" )[0].style.display="none"; | document.getElementsByTagName( "p" )[0].style.display="none"; | ||
Line 230: | Line 230: | ||
.blue { | .blue { | ||
color:#0CA5B0; | color:#0CA5B0; | ||
+ | } | ||
+ | .selected{ | ||
+ | color:#FF0000; | ||
+ | } | ||
+ | .unselected{ | ||
+ | color:#0CA5B0; | ||
} | } | ||
</style> | </style> | ||
</head> | </head> | ||
- | <body> | + | <body > |
<div id=up_line> | <div id=up_line> | ||
Line 245: | Line 251: | ||
<div id=navigation style="width: 150px; float:left"> | <div id=navigation style="width: 150px; float:left"> | ||
<ul> | <ul> | ||
- | <li><a href="javascript:;" display="block" onclick="hideSubmenu('none', this)">home</a> | + | <li><a href="javascript:;" display="block" onclick="hideSubmenu('none', this)"><span class="unselected"> < </span>home</a> |
</li> | </li> | ||
- | <li><a href="#" display="block" onclick="hideSubmenu('sub-team', this)">team</a> | + | <li><a href="#" display="block" onclick="hideSubmenu('sub-team', this)"><span class="unselected"> < </span>team</a> |
<ul class="sub2" id="sub-team" display="none"> | <ul class="sub2" id="sub-team" display="none"> | ||
<li class="sub2"><a href="#"> <span class="blue"> → </span>members</a></li> | <li class="sub2"><a href="#"> <span class="blue"> → </span>members</a></li> |
Revision as of 19:24, 2 July 2011
This is the wiki of the Freiburger student team competing for iGEM 2011. Thank you for your interest!