Team:TU Delft/menu test

From 2010.igem.org

(Difference between revisions)
Line 99: Line 99:
   });
   });
 +
  var activePage = "{{{contentpage|home}}}";
 +
alert(activePage);
   btn.addClass("button_pointer");
   btn.addClass("button_pointer");
 +
  if (page == activePage)
 +
    btn.addClass("menu_button_"+activePage+"_sel");
 +
   
}
}

Revision as of 10:58, 5 June 2010