Forum Moderators: not2easy
.shop_hover{
background: url(img/shop_hover.png) no-repeat top;
width: 290px;
height:230px;
display:block;
padding:0;
margin:0;
}
div#showcase_home div.shop{
background:url(img/shop.png) no-repeat top;
margin-right:0;
}
<div class="shop">
<a class="shop_hover" href="?page=shop"></a>
</div>
//Set opacity to 0
$('#showcase_home > div > a').css({'opacity':'0'});
$('#showcase_home > div').hover(
function () {
var selected_div = $(this).attr("class") + "_hover";
$(this).find('.' + selected_div).stop().fadeTo(500, 1)
},
function () {
var selected_div = $(this).attr("class") + "_hover";
$(this).find('.' + selected_div).stop().fadeTo(300, 0)
}
);
APPLIES TO
* Windows Internet Explorer 8
* Windows Internet Explorer 7 in Windows Vista
* Windows Internet Explorer 7 for Windows Server 2003 IA64
* Windows Internet Explorer 7 for Windows XP
* Windows Internet Explorer 7 for Windows Server 2003