Team:UT-Tokyo/Templates/BeginContent

From 2011.igem.org

(Difference between revisions)
Line 514: Line 514:
   $(UT_Tokyo.menuMap[idx]).addClass('active');
   $(UT_Tokyo.menuMap[idx]).addClass('active');
   UT_Tokyo.activeMenuEntry = idx;
   UT_Tokyo.activeMenuEntry = idx;
 +
  $('#slider').nivoToggle(idx);
   UT_Tokyo._showSubmenuIfExist(idx, 0);
   UT_Tokyo._showSubmenuIfExist(idx, 0);
};
};
Line 523: Line 524:
   $(UT_Tokyo.menuMap[idx]).addClass('hover');
   $(UT_Tokyo.menuMap[idx]).addClass('hover');
   UT_Tokyo.hoverMenuEntry = idx;
   UT_Tokyo.hoverMenuEntry = idx;
 +
  $('#slider').nivoToggle(idx);
   UT_Tokyo._showSubmenuIfExist(idx, 300);
   UT_Tokyo._showSubmenuIfExist(idx, 300);
};
};
Line 530: Line 532:
     $(this).removeClass('hover');
     $(this).removeClass('hover');
   });
   });
 +
  $('#slider').nivoToggle(UT_Tokyo.activeMenuEntry);
   UT_Tokyo._showSubmenuIfExist(UT_Tokyo.activeMenuEntry, 300);
   UT_Tokyo._showSubmenuIfExist(UT_Tokyo.activeMenuEntry, 300);
};
};

Revision as of 15:02, 25 September 2011