Difference between revisions of "Team:SUSTech Shenzhen/themeJs"

Line 31: Line 31:
 
      
 
      
 
       $("nav a").each(function(ind,val){
 
       $("nav a").each(function(ind,val){
         if((val.href===window.location.href)&(val.href!="https://2016.igem.org/Team:SUSTech_Shenzhen")){
+
         if(val.href===window.location.href)
 +
          if (val.href!="https://2016.igem.org/Team:SUSTech_Shenzhen"){
 
           val.href="#";
 
           val.href="#";
 
           $(val).parent().addClass("active");
 
           $(val).parent().addClass("active");

Revision as of 01:00, 16 October 2016