Template:Team:HKU-HKBU/script.js
From 2009.igem.org
(Difference between revisions)
YinanZhang (Talk | contribs) |
YinanZhang (Talk | contribs) |
||
Line 81: | Line 81: | ||
} else { | } else { | ||
var pageName = majorTabNames[i].replace(/ /g, "_").toLowerCase(); | var pageName = majorTabNames[i].replace(/ /g, "_").toLowerCase(); | ||
- | if (document.URL. | + | if (document.URL == "https://2009.igem.org/Team:HKU-HKBU") |
- | pageName = " | + | pageName = "igem"; |
document.write("\ | document.write("\ | ||
<div class=\"linktab" + ((document.URL.indexOf(pageName) != -1) ? "sel" : "") + "\">\ | <div class=\"linktab" + ((document.URL.indexOf(pageName) != -1) ? "sel" : "") + "\">\ |
Revision as of 13:15, 8 October 2009