Team:UT-Tokyo/Templates/BeginContent

From 2011.igem.org

(Difference between revisions)
Line 391: Line 391:
   $('#navi').mouseleave(function() {
   $('#navi').mouseleave(function() {
     $('#slider').nivoToggle(idx);
     $('#slider').nivoToggle(idx);
 +
    if (UT_Tokyo.currentMenuEntry != 2) {
 +
      $(this.menuMap[2]).css('background-image', 'none');
 +
      $('#projectMenu').fadeOut(200);
 +
    }
   });
   });
   $(this.menuMap[idx]).css('background-image', 'url(http://igem-ut.net/2011/trans.png)');
   $(this.menuMap[idx]).css('background-image', 'url(http://igem-ut.net/2011/trans.png)');

Revision as of 16:26, 31 August 2011