Team:UT-Tokyo/Templates/BeginContent

From 2011.igem.org

(Difference between revisions)
Line 383: Line 383:
   $('#navi #menu #hauptMenu ul li').css('background-image', 'none');
   $('#navi #menu #hauptMenu ul li').css('background-image', 'none');
   if (idx == 2) {
   if (idx == 2) {
-
     $('#projectMenu').show();
+
     $('#projectMenu').fadeIn(0);
   }
   }
   $('#slider').nivoToggle(idx);
   $('#slider').nivoToggle(idx);
Line 397: Line 397:
   if (idx == 2) {
   if (idx == 2) {
     $('#projectMenu').fadeIn(200);
     $('#projectMenu').fadeIn(200);
-
   } else {
+
   } else if (UT_Tokyo.currentMenuEntry != 2) {
     $(this.menuMap[2]).css('background-image', 'none');
     $(this.menuMap[2]).css('background-image', 'none');
     $('#projectMenu').fadeOut(200);
     $('#projectMenu').fadeOut(200);

Revision as of 16:13, 31 August 2011