Template:Team:Trieste/menu
From 2012.igem.org
(Difference between revisions)
(cleanup) |
(add script to autoselect menus) |
||
Line 14: | Line 14: | ||
<li><a href="extra">EXTRA</a></li> | <li><a href="extra">EXTRA</a></li> | ||
</ul> | </ul> | ||
+ | <script type="text/javascript"> | ||
+ | $(function(){ | ||
+ | title_regexp = /\w+$/; | ||
+ | title = title_regexp.exec(location.href); | ||
+ | $('#navigation > li > a[href=' + title + ']').parent().addClass('select'); | ||
+ | }); | ||
+ | </script> | ||
<a href="https://2011.igem.org/Team:UNITS_Trieste" target="_blank"><img src="/wiki/images/1/1b/Trieste-Igem2011.png" alt="iGEM" class="logo-igem2011" /></a> | <a href="https://2011.igem.org/Team:UNITS_Trieste" target="_blank"><img src="/wiki/images/1/1b/Trieste-Igem2011.png" alt="iGEM" class="logo-igem2011" /></a> | ||
<a href="https://2012.igem.org/Main_Page" target="_blank"><img src="/wiki/images/a/ad/Logo_igem.png" alt="iGEM" class="logo-igem" /></a> | <a href="https://2012.igem.org/Main_Page" target="_blank"><img src="/wiki/images/a/ad/Logo_igem.png" alt="iGEM" class="logo-igem" /></a> | ||
</div> <!-- end header --> | </div> <!-- end header --> | ||
</html> | </html> |
Revision as of 15:09, 3 September 2012