Team:TU Delft/menu test

From 2010.igem.org

(Difference between revisions)
Line 94: Line 94:
     });
     });
      
      
-
     btn.removeClass("menu_button_"+activePage+"_sel");
+
     $(".menu_button_" + activePage).removeClass("menu_button_"+activePage+"_sel");
     activePage = page;
     activePage = page;
-
     btn.addClass("menu_button_"+activePage+"_sel");
+
     $(".menu_button_" + activePage).addClass("menu_button_"+activePage+"_sel");
      
      
   });
   });

Revision as of 11:29, 5 June 2010