Template:Berkeley Menu

From 2010.igem.org

(Difference between revisions)
Line 4: Line 4:
$(document).ready(function()
$(document).ready(function()
{
{
-
   if(pathname == "/Team:Berkeley")
+
   if(pathname == "/Team:Berkeley") {
-
  {
+
     $("#homeLink").empty();
-
     alert(1);
+
    $("#homeLink").append("Home");
   }
   }
})
})
Line 15: Line 15:
   <li id="homeLink">[https://2010.igem.org/Team:Berkeley Home]</li>
   <li id="homeLink">[https://2010.igem.org/Team:Berkeley Home]</li>
   <li id="projectLink">[https://2010.igem.org/Team:Berkeley/Project_Overview Project]</li>
   <li id="projectLink">[https://2010.igem.org/Team:Berkeley/Project_Overview Project]</li>
-
   <li id="partsLink">[https://2010.igem.org/Team:Berkeley/Parts Parts]</li>
+
   <li id="resultsLink">[https://2010.igem.org/Team:Berkeley/Results Parts]</li>
   <li id="clothoLink">[https://2010.igem.org/Team:Berkeley/Clotho Home]</li>
   <li id="clothoLink">[https://2010.igem.org/Team:Berkeley/Clotho Home]</li>
   <li id="humanPracticesLink">[https://2010.igem.org/Team:Berkeley/Human_Practices Human Practices]</li>
   <li id="humanPracticesLink">[https://2010.igem.org/Team:Berkeley/Human_Practices Human Practices]</li>

Revision as of 23:09, 24 October 2010