Team:TU Delft/menu test
From 2010.igem.org
(Difference between revisions)
Line 53: | Line 53: | ||
</style> | </style> | ||
<ul id="navlist"> | <ul id="navlist"> | ||
- | <li | + | <li class="menu_button menu_button_home" ><a href="https://2010.igem.org/Team:TU_Delft" title="Home"> </a></li> |
- | <li | + | <li class="menu_button menu_button_blog"><a href="https://2010.igem.org/Team:TU_Delft/blog" title="Blog"> </a></li> |
- | <li | + | <li class="menu_button menu_button_competition" ><a href="https://2010.igem.org/Team:TU_Delft/competition" title="Competition"> </a></li> |
- | <li | + | <li class="menu_button menu_button_background"><a href="https://2010.igem.org/Team:TU_Delft/background" title="Background"> </a></li> |
<li class="menu_button menu_button_project"><a href="https://2010.igem.org/Team:TU_Delft/project" title="Project"> </a></li> | <li class="menu_button menu_button_project"><a href="https://2010.igem.org/Team:TU_Delft/project" title="Project"> </a></li> | ||
<li class="menu_button menu_button_education"><a href="https://2010.igem.org/Team:TU_Delft/education" title="Education"> </a></li> | <li class="menu_button menu_button_education"><a href="https://2010.igem.org/Team:TU_Delft/education" title="Education"> </a></li> | ||
Line 74: | Line 74: | ||
$("#navlist > *").each (function() { | $("#navlist > *").each (function() { | ||
// load URL from link element | // load URL from link element | ||
- | var url = this.href; | + | var url = $("*",this).attr("href"); |
var button = $(this); | var button = $(this); | ||
Revision as of 20:29, 4 June 2010