Hi,
I have an animation on a partially hidden div container that will execute when the result returned from an ajax query is true. (The animation actually just brings the box into larger view, and then sliding it back in again)
$('#box').animate({'right':'-184px'}, 300, 'easeOutBounce');
$('#box').animate({'right':'-194px'}, 150, 'easeOutExpo');
How can I make this animation repeat every 4 seconds until the user clicks on $('#box')?
Any help is greatly appreciated. Thanks :)