Difference between revisions of "Template:Toulouse/nav"
Line 102: | Line 102: | ||
document.getElementById('project').style.color = activeColor;} | document.getElementById('project').style.color = activeColor;} | ||
else{ | else{ | ||
− | document.getElementById('test').class='set'; | + | var element = document.getElementById('test'); |
− | document.getElementById('test').style.color = activeColor; | + | //document.getElementById('test').class='set'; |
+ | //document.getElementById('test').style.color = activeColor; | ||
//home.style.fontSize = "25px";} | //home.style.fontSize = "25px";} | ||
} | } | ||
Line 111: | Line 112: | ||
} | } | ||
} | } | ||
+ | element.class='set'; | ||
+ | element.style.color = activeColor; | ||
</script> | </script> | ||
Revision as of 08:38, 7 August 2015