Team:TU Delft/menu test

From 2010.igem.org

(Difference between revisions)
Line 103: Line 103:
   var btnCssClassSelected = "menu_button_" + page + "_sel";
   var btnCssClassSelected = "menu_button_" + page + "_sel";
   btn.hover(function() {
   btn.hover(function() {
-
     btn.addClass(btnCssClassSelected);
+
     if (page != activePage)
 +
      btn.addClass(btnCssClassSelected);
   }, function() {
   }, function() {
-
     btn.removeClass(btnCssClassSelected);
+
     if (page != activePage)
 +
      btn.removeClass(btnCssClassSelected);
   });
   });

Revision as of 13:41, 5 June 2010