Team:Imperial College London

From 2010.igem.org

(Difference between revisions)
(Removed first heading)
Line 13: Line 13:
     $('#menuback').mouseover(function() {
     $('#menuback').mouseover(function() {
-
     $('#headover').stop().animate({height:'150px',top:'0px'},1000);
+
     $('#headover').stop(true, true).animate({height:'150px',top:'0px'},1000);
     });
     });
Line 19: Line 19:
     $('.listhead').not('.curlink').css("color","#ffffff");
     $('.listhead').not('.curlink').css("color","#ffffff");
     $('.listmain').not('.curlink').css("color","#dddddd");
     $('.listmain').not('.curlink').css("color","#dddddd");
-
     $('#headover ul').fadeOut(200);
+
     $('#headover ul').fadeOut(500);
-
     $('#headover').stop().animate({height:'50px',top:'100px'},1000);
+
     $('#headover').stop(true, true).animate({height:'50px',top:'100px'},1000);
     });
     });
Line 28: Line 28:
     $('#headover ul').css("display","none");
     $('#headover ul').css("display","none");
     var vActive = $(this).attr("id");
     var vActive = $(this).attr("id");
-
     $('.'+vActive).stop().fadeIn(200);
+
     $('.'+vActive).stop(true, true).fadeIn(500);
     });
     });

Revision as of 15:19, 29 September 2010