Template:Template HD
From 2009.igem.org
(Difference between revisions)
Naoiwamoto (Talk | contribs) m |
Naoiwamoto (Talk | contribs) m |
||
Line 409: | Line 409: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
<!-- | <!-- | ||
- | + | function markActiveLinks() { | |
- | + | ||
- | + | for (i=0; i<anz; i++) | |
- | + | { | |
- | + | if (document.getElementsByTagName("a")[i].href == location.href) | |
- | + | { | |
- | + | document.getElementsByTagName("a")[i].style.color = "red"; | |
- | for (i = 0; i < | + | } |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | window.onload = markActiveLinks; | ||
--> | --> |
Revision as of 21:29, 6 October 2009