This is relation to my other post but it is a different scenario.
When I hover over the box, I want to show an image for 2 seconds, and then show the next image after those 2 seconds. When they hover off, I want them both to disappear (no fadeIn or slideDown etc)
// html
<style type="text/css">
#date_1 img{display:none}
</style>
<div id="date_1">
<img src="2secondanimation.gif" id="magicimage_1" />
<img src="fixedimage.jpg" id="magicimage_1_fixed" />
</div>
and js:
// jquery (UPDATED CODE)
$("#date_1").hover(function () {
// show image for 2 seconds
$("#magicimage_1").show(2000);
$("#magicimage_1_fixed").show();
}, function () {
// remove both above classes
$("#magicimage_1").hide();
$("#magicimage_1_fixed").hide();
});