Template:Team:Trieste/menu
From 2012.igem.org
(Difference between revisions)
(fix regexp) |
(fix regex) |
||
Line 66: | Line 66: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function(){ | $(function(){ | ||
- | title_regexp = /http:\/\/2012\.igem\.org\/Team:Trieste\/([a-zA-Z]+) | + | title_regexp = /http:\/\/2012\.igem\.org\/Team:Trieste\/([a-zA-Z]+).*; |
title = title_regexp.exec(location.href); | title = title_regexp.exec(location.href); | ||
$('#navigation > li > a[href$=' + title + ']').parent().addClass('select'); | $('#navigation > li > a[href$=' + title + ']').parent().addClass('select'); |
Revision as of 13:35, 26 September 2012