Team:Cambridge/TEST1
From 2012.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
$('#HP').mouseover(function() { | $('#HP').mouseover(function() { | ||
$('#HP').css("background-image", "url('https://static.igem.org/mediawiki/2012/c/ce/CAMV2_HP.jpg')"); | $('#HP').css("background-image", "url('https://static.igem.org/mediawiki/2012/c/ce/CAMV2_HP.jpg')"); | ||
+ | $('#HP h8').css("background-color","white"); | ||
+ | $('#HP h9').css("background-color","white"); | ||
$('#HP h9').css("color","black"); | $('#HP h9').css("color","black"); | ||
}); | }); | ||
Line 44: | Line 46: | ||
$('#HP').mouseleave(function() { | $('#HP').mouseleave(function() { | ||
$('#HP').css("background-image", "none"); | $('#HP').css("background-image", "none"); | ||
+ | $('#HP h8').css("background-color","black"); | ||
+ | $('#HP h9').css("background-color","black"); | ||
$('#HP h9').css("color","white"); | $('#HP h9').css("color","white"); | ||
}); | }); |
Revision as of 15:14, 24 October 2012