Hi Guys I’m using a page peel effect on hover, how can I add an effect to disappear when peeled, I’m guessing I would use ).fadeOut(‘slow’) but not sure how to add this to the existing hover affect? any ideas cheers
<script type=“text/javascript”>
$(document).ready(function(){
$(“#pageflip”).hover(function() { //On hover…
$(“#pageflip img , .msg_block”).stop()
.animate({ //Animate and expand the image and the msg_block (Width + height)
width: ‘475px’,
height: ‘715px’
}, 500);
} , function() {
$(“#pageflip img”).stop() //On hover out, go back to original size 50x52
.animate({
width: ‘50px’,
height: ‘52px’
}, 220);
$(“.msg_block”).stop() //On hover out, go back to original size 50x50
.animate({
width: ‘50px’,
height: ‘50px’
}, 200); //Note this one retracts a bit faster (to prevent glitching in IE)
});
});
</script>