Template:Team:Valencia Biocampus/Templates/Header

From 2014.igem.org

(Difference between revisions)
Line 28: Line 28:
       <ul class="col-sm-7" id="header-menu">
       <ul class="col-sm-7" id="header-menu">
         <li>
         <li>
-
           <a href="https://2014.igem.org/Team:Valencia_Biocampus/Team" id="menu_a_team" class="active">The team</a>
+
           <a href="https://2014.igem.org/Team:Valencia_Biocampus/Team" id="menu_a_team">The team</a>
         </li>
         </li>
         <li>
         <li>
-
           <a href="https://2014.igem.org/Team:Valencia_Biocampus/Project" id="menu_a_project">Project</a>
+
           <a href="https://2014.igem.org/Team:Valencia_Biocampus/Project" id="menu_a_project" class="active">Project</a>
         </li>
         </li>
         <li>
         <li>
Line 58: Line 58:
         if(typeof activeSection === "undefined" )
         if(typeof activeSection === "undefined" )
-
             var activeSection = "team";
+
             var activeSection = "project";
         $("#header-menu li a.active").removeClass("active");
         $("#header-menu li a.active").removeClass("active");
         $("#menu_a_"+activeSection).addClass("active");
         $("#menu_a_"+activeSection).addClass("active");

Revision as of 19:38, 25 August 2014