Difference between revisions of "Template:Toulouse/nav"

Line 16: Line 16:
 
     </div>-->
 
     </div>-->
 
 
<li  ><a href="https://2015.igem.org/Team:Toulouse" id="test" class="set"><b>Home</b></a></li>
+
<li  ><a href="https://2015.igem.org/Team:Toulouse" id="test" ><b>Home</b></a></li>
 
 
 
 
Line 85: Line 85:
 
var activeColor = '#D5DEB6';
 
var activeColor = '#D5DEB6';
 
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 107: Line 108:
 
}
 
}
 
}
 
}
element.class='set';
+
element.class="set";
 
//element.style.color = activeColor;
 
//element.style.color = activeColor;
 
</script>
 
</script>

Revision as of 08:48, 7 August 2015