Difference between revisions of "Template:Toulouse/nav"
Line 2: | Line 2: | ||
<html> | <html> | ||
− | <div class="wrapper row0 fixed"> | + | <div class="wrapper row0 fixed" height="15px;"> |
<header id="header" class="clear"> | <header id="header" class="clear"> | ||
Line 78: | Line 78: | ||
// SET ACTIVE | // SET ACTIVE | ||
− | var activeColor = ' | + | var activeColor = 'color:rgb(51, 153, 51);'; |
if (myurl.search("notebook") != -1){ | if (myurl.search("notebook") != -1){ | ||
− | document.getElementById('notebook').style | + | document.getElementById('notebook').style = activeColor;} |
else{ | else{ | ||
if (myurl.search("humanp") != -1){ | if (myurl.search("humanp") != -1){ | ||
− | document.getElementById('humanp').style | + | document.getElementById('humanp').style = activeColor;} |
else{ | else{ | ||
if (myurl.search("issues") != -1){ | if (myurl.search("issues") != -1){ | ||
− | document.getElementById('issues').style | + | document.getElementById('issues').style = activeColor;} |
else{ | else{ | ||
if (myurl.search("achievements") != -1){ | if (myurl.search("achievements") != -1){ | ||
− | document.getElementById('achiev').style | + | document.getElementById('achiev').style = activeColor;} |
else{ | else{ | ||
if (myurl.search("members") != -1){ | if (myurl.search("members") != -1){ | ||
− | document.getElementById('team').style | + | document.getElementById('team').style = activeColor;} |
else{ | else{ | ||
if (myurl.search("project") != -1){ | if (myurl.search("project") != -1){ | ||
− | document.getElementById('project').style | + | document.getElementById('project').style = activeColor;} |
else{ | else{ | ||
− | document.getElementById('home').style | + | document.getElementById('home').style = activeColor; |
} | } | ||
} | } |
Revision as of 09:44, 6 August 2015