http://wesbos.com/tf/shutterflow/?cat=3
when one hovers over an image .cover is faded in. I use jquery to change the opacity because CSS doesn't work in IE for this purpose.
My code is:
$(document).ready(
function() {
$('.slide').hover(
function() { $(".cover").animate({ opacity: 0.7 },300 ).fadeIn('300'); },
function () { $(".cover").animate({ opacity: 0 },300 ).fadeOut('300');
} );
} );
I want the fade in to be instant, not wait 1 second. Any ideas?