As I understand it the .effect()
method doesn't continue the animation indefinitely, so you'd need to keep calling it each time it finishes, perhaps by triggering the animation from inside a function that is also provided as the complete callback.
As for stopping it while the other div is displayed and restarting it afterwards, you can use a flag to decide which way to toggle, perhaps something like this:
function keepPulsing() {
$pulse.effect("pulsate", 500, keepPulsing);
}
var pulsing = true,
$pulse = jQuery(".pulse").click(function(){
if (pulsing) {
jQuery(".other").slideDown();
jQuery(this).stop(true, true).css("opacity",1);
} else {
jQuery(".other").slideUp();
keepPulsing();
}
pulsing = !pulsing;
});
keepPulsing();