I have this code:
jQuery(\'#flash\').animate({opacity: 0.35}, 200) .animate({opacity: 0}, 200) .animate({opacity: 0.35}, 200)
You can chain the animation using a loop if that's what you're looking for.
var $flash = jQuery('#flash'), i; for (i = 0; i < 10; i++) { $flash = $flash.animate({opacity: 0.35}, 200) .animate({opacity: 0}, 200); }