Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 304: Line 304:
.selflink {
.selflink {
-
   color: #2b6196 !important;
+
   color: #001f3d !important;
   cursor: default !important;
   cursor: default !important;
   text-decoration: none !important;
   text-decoration: none !important;
Line 335: Line 335:
if (active==3) {
if (active==3) {
-
$(menu_buttons[i]).parent("tr").next().children("td").filter(function(index) {return index==0}).children("a").addClass("selflink");
+
$(menu_buttons[i]).parent("tr").siblings(":last").children("td").filter(function(index) {return index==i}).children("a").addClass("selflink");
}
}
   
   

Revision as of 00:42, 4 October 2013