Template:Team:Glasgow/Header

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","ffbbff");
+
       $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#ffbbff");
     }
     }
     });
     });

Revision as of 20:23, 20 July 2011