Template:Template HD
From 2009.igem.org
(Difference between revisions)
Naoiwamoto (Talk | contribs) m |
Naoiwamoto (Talk | contribs) m |
||
Line 418: | Line 418: | ||
</style> | </style> | ||
+ | <script type="text/javascript"> | ||
+ | var anz = document.getElementsByTagName("a").length; | ||
+ | |||
+ | for (i=0; i<anz; i++) | ||
+ | { | ||
+ | if (document.getElementsByTagName("a")[i].href == location.href) | ||
+ | { | ||
+ | document.getElementsByTagName("a")[i].style.backgroundColor = "red"; | ||
+ | document.getElementsByTagName("a")[i].style.color = "white"; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </script> | ||
</head> | </head> | ||
Revision as of 21:12, 6 October 2009