Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD PROJECT
From 2012.igem.org
(Difference between revisions)
Pdmallaband (Talk | contribs) |
Pdmallaband (Talk | contribs) |
||
Line 61: | Line 61: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | $('.cam_grid_headover | + | $('.cam_grid_headover h7').css("display","none"); |
- | $('#cam_grid_project_title | + | $('#cam_grid_project_title').mouseover(function() { |
- | $('#cam_grid_project_headover | + | $('#cam_grid_project_headover').stop().animate({height:'170px',top:'0px'},1000); |
- | $('#cam_grid_project_headover | + | $('#cam_grid_project_headover h7').fadeIn(500); |
}); | }); | ||
- | $('#cam_grid_project | + | $('#cam_grid_project').mouseleave(function() { |
- | $('#cam_grid_project_headover | + | $('#cam_grid_project_headover').stop().animate({height:'90px',top:'80px'},1000); |
- | $('#cam_grid_project_headover | + | $('#cam_grid_project_headover h7').fadeOut(500); |
}); | }); | ||
Revision as of 18:13, 21 September 2012