I'm trying to make some images bounce.
http://jsfiddle.net/d7UjD/43/
$('#bbb').mouseenter(function() {
$(this).stop().effect('bounce',500);
});
$('#bbb').mouseleave(function() {
$(this).stop(true,true);
});
$('#target').mouseenter(function() {
$(this).stop().effect('bounce',500);
});
$('#target').mouseleave(function() {
$(this).stop(true,true);
});
$('#sears').mouseenter(function() {
$(this).stop().effect('bounce',500);
});
$('#sears').mouseleave(function() {
$(this).stop(true,true);
});
<div id="RegStores">
<a href="http://www.bedbathandbeyond.com/regGiftRegistry.asp?wrn=-1824276933&" target="_new"><img src="http://www.dkg2012.com/img/bbb.png" id="bbb" width="144" height="48" border="0" /></a>
<a href="http://www.target.com/RegistryGiftGiverCmd?isPreview=false&status=completePageLink&listId=HCoY5fRCrcOOxRCdNn3i6g&registryType=WD&isAjax=false" target="_new"><img src="http://www.dkg2012.com/img/target.png" id="target" width="143" height="34" border="0" style="padding-left: 10px; padding-bottom: 5px;" /></a>
<a href="http://www.sears.com/shc/s/GRManageView?storeId=10153&catalogId=12605&langId=&externalId=900040792636010101&grUserType=BUYER&fwdURL=GRGuestRegistryView&sortType=category" target="_new"><img src="http://www.dkg2012.com/img/sears.png" width="142" height="40" border="0" id="sears" style="padding-left: 10px;" /></a>
</div>
#RegStores {
position:absolute;
bottom:10px;
left:23px;
width:467px;
height:50px;
z-index:30;
}
How can I get this to work without other images moving down. And also, when you quickly move the mouse over the image, this leads to the fact that the image continues to move up and up - how can I fix it?
source
share