Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD OUTREACH
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_outreach_title').mouseover(function() { | $('#cam_grid_outreach_title').mouseover(function() { | ||
$('#cam_grid_outreach_headover').stop().animate({height:'170px',top:'0px'},1000); | $('#cam_grid_outreach_headover').stop().animate({height:'170px',top:'0px'},1000); | ||
- | $('#cam_grid_outreach_headover | + | $('#cam_grid_outreach_headover h7').fadeIn(500); |
}); | }); | ||
$('#cam_grid_outreach').mouseleave(function() { | $('#cam_grid_outreach').mouseleave(function() { | ||
$('#cam_grid_outreach_headover').stop().animate({height:'90px',top:'80px'},1000); | $('#cam_grid_outreach_headover').stop().animate({height:'90px',top:'80px'},1000); | ||
- | $('#cam_grid_outreach_headover | + | $('#cam_grid_outreach_headover h7').fadeOut(500); |
}); | }); | ||
Revision as of 15:15, 24 September 2012