Team:TU Delft/menu test

From 2010.igem.org

(Difference between revisions)
Line 136: Line 136:
$(function() {
$(function() {
   var pages = [ "home", "blog", "competition", "background", "project", "education", "sponsors", "press" ];
   var pages = [ "home", "blog", "competition", "background", "project", "education", "sponsors", "press" ];
-
   for(var i in pages)  {
+
   for(var i=0; i<pages.length; i++)  {
   var page = pages[i];
   var page = pages[i];
     setupPage(pages[i]);
     setupPage(pages[i]);

Revision as of 14:19, 5 June 2010