Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD TEAM
From 2012.igem.org
(Difference between revisions)
Line 61: | Line 61: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | $('.cam_grid_headover | + | $('.cam_grid_headover h7').css("display","none"); |
$('#cam_grid_team_title').mouseover(function() { | $('#cam_grid_team_title').mouseover(function() { | ||
$('#cam_grid_team_headover').stop().animate({height:'170px',top:'0px'},1000); | $('#cam_grid_team_headover').stop().animate({height:'170px',top:'0px'},1000); | ||
- | $('#cam_grid_team_headover | + | $('#cam_grid_team_headover h7').fadeIn(500); |
}); | }); | ||
$('#cam_grid_team').mouseleave(function() { | $('#cam_grid_team').mouseleave(function() { | ||
$('#cam_grid_team_headover').stop().animate({height:'90px',top:'80px'},1000); | $('#cam_grid_team_headover').stop().animate({height:'90px',top:'80px'},1000); | ||
- | $('#cam_grid_team_headover | + | $('#cam_grid_team_headover h7').fadeOut(500); |
}); | }); | ||
Revision as of 15:18, 24 September 2012