Difference between revisions of "Template:Toulouse/nav"

Line 76: Line 76:
 
document.getElementById('newUrl').href = frenchLink;
 
document.getElementById('newUrl').href = frenchLink;
  
 +
// SET ACTIVE
 +
 +
var activeColor = 'color:rgb(118, 119, 48);';
 
if (myurl.search("test") != -1){
 
if (myurl.search("test") != -1){
 
document.write("poney");
 
document.write("poney");
document.getElementById('notebook').style = 'color:rgb(118, 119, 48);';}
+
document.getElementById('notebook').style = activeColor;}
 +
 
</script>
 
</script>
  

Revision as of 08:00, 4 August 2015