Template:CSU Template 1 top
From 2012.igem.org
(Difference between revisions)
Line 187: | Line 187: | ||
</style> | </style> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
//******************************************************************* | //******************************************************************* | ||
Line 377: | Line 371: | ||
} | } | ||
} | } | ||
+ | } | ||
+ | |||
+ | //******************************************************************* | ||
+ | //************************EDIT PAGE DIV**************************** | ||
+ | //******************************************************************* | ||
+ | |||
+ | var pageUrl = window.location.split("/"); | ||
+ | if (pageUrl[3]) { | ||
+ | alert('is not home'); | ||
+ | } else { | ||
+ | alert('is home'); | ||
} | } | ||
Revision as of 19:41, 18 July 2012
|