Difference between revisions of "Team:Valencia UPV/Templates:generaljs"

Line 31: Line 31:
 
         $("#menu_home").removeClass("active");
 
         $("#menu_home").removeClass("active");
 
         $("#menu_parts").addClass("active");
 
         $("#menu_parts").addClass("active");
  }
 
  if( currLocation == "https://2016.igem.org/Team:Valencia_UPV/Attributions"){
 
        $("#menu_home").removeClass("active");
 
        $("#menu_attributions").addClass("active");
 
 
   }
 
   }
 
   if( currLocation == "https://2016.igem.org/Team:Valencia_UPV/Team" ||
 
   if( currLocation == "https://2016.igem.org/Team:Valencia_UPV/Team" ||
         currLocation == "https://2016.igem.org/Team:Valencia_UPV/Collaborations"){
+
         currLocation == "https://2016.igem.org/Team:Valencia_UPV/Collaborations" ||
 +
        currLocation == "https://2016.igem.org/Team:Valencia_UPV/Attributions" ||){
 
         $("#menu_home").removeClass("active");
 
         $("#menu_home").removeClass("active");
 
         $("#menu_team").addClass("active");
 
         $("#menu_team").addClass("active");

Revision as of 12:00, 27 August 2016