Team:TU Delft/menu test

From 2010.igem.org

(Difference between revisions)
Line 74: Line 74:
.button_hover { background-color: #aaa; }
.button_hover { background-color: #aaa; }
</style>
</style>
-
 
+
 
<script type="text/javascript">
<script type="text/javascript">
Line 99: Line 99:
   });
   });
-
   var activePage = "{{{contentpage|home}}}";
+
   var activePage = "</html>{{{contentpage|home}}}<html>";
-
alert(activePage);
+
 
   btn.addClass("button_pointer");
   btn.addClass("button_pointer");
   if (page == activePage)
   if (page == activePage)

Revision as of 11:00, 5 June 2010