Template:Imperial/09/Menu/Reduced
From 2009.igem.org
(Difference between revisions)
Line 220: | Line 220: | ||
</style> | </style> | ||
<![endif]--> | <![endif]--> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | var address = document.location.href; | ||
+ | var addressSplit = address.split("/"); | ||
+ | </script> | ||
<div id="menu"> | <div id="menu"> | ||
Line 235: | Line 240: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | |||
alert(addressSplit[4]); | alert(addressSplit[4]); | ||
if (addressSplit[4]=='M1'){ | if (addressSplit[4]=='M1'){ |
Revision as of 14:58, 13 September 2009