I'm trying to make a div disappear and reappear after a set amount of time.
Inside the div are div elements that fade in and fade out.
I thought this would work:
setTimeout(function() {
$( "#productDiv" ).removeAttr( "style" ).show().fadeIn();
}, 1000 );
but it isn't so I'm pretty sure I'm doing it wrong. I also can't figure out how to show the div again after a set time.
Can anyone take a look at this and give me pointers?
http://jsfiddle.net/linuxbastard/nGCNJ/5/
Thanks in advance.