Team:EPF-Lausanne/Template/SubMenu

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<script type="text/javascript">
<script type="text/javascript">
-
var menu = "</html>{{{1}}}<html>";
+
window.menu = "</html>{{{1}}}<html>";
var menus = {
var menus = {
Line 22: Line 22:
<script type="text/javascript">
<script type="text/javascript">
-
if(menus[menu]){
+
if(menus[window.menu]){
var sub = $(".sub-menu .simple-navi");
var sub = $(".sub-menu .simple-navi");

Revision as of 17:02, 12 September 2012