Difference between revisions of "Template:Toulouse/nav"

Line 87: Line 87:
 
var element = document.getElementById('test');
 
var element = document.getElementById('test');
  
 +
/*
 
if (myurl.search("notebook") != -1){
 
if (myurl.search("notebook") != -1){
 
element = document.getElementById('notebook');}
 
element = document.getElementById('notebook');}
Line 108: Line 109:
 
}
 
}
 
}
 
}
}
+
}*/
 +
 +
element = document.getElementById(elementId);
 
element.className="set";
 
element.className="set";
//element.style.color = activeColor;
+
 
 
</script>
 
</script>
  

Revision as of 14:35, 27 August 2015