Team:Imperial College London/test6

From 2011.igem.org

(Difference between revisions)
Line 10: Line 10:
     var last = path.split("/");
     var last = path.split("/");
     if ( last[1] ) {
     if ( last[1] ) {
-
       $('#headover ul li a[href*="' + last[1] + '"]').addClass("curlink").css("color","#ea8828");
+
       $('.underlinemenu ul li a[href*="' + last[1] + '"]').addClass("curlink").css("color","#ea8828");
     }
     }
     else {
     else {
-
       $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#ea8828");
+
       $('.underlinemenu ul li a[href$="' + path + '"]').addClass("curlink").css("color","#ea8828");
     }
     }
     });
     });
Line 69: Line 69:
<br/>
<br/>
<hr style="color:#BDCBBD; height:3px;" />
<hr style="color:#BDCBBD; height:3px;" />
-
 
-
<script type="text/javascript">
 
-
document.write(path);
 
-
</script>
 
</body>
</body>
</html>
</html>

Revision as of 09:57, 15 September 2011


Protocols