0

I have this effect $("#stage").effect("pulsate", { times: 1 }, 700);

But there are no configuration settings that I can use. For example the Pulsate effect will bring the opacity down to 0% and then back up to 100%. What can be done so that the opacity will go down to 70% instead of 0%?

2 Answers 2

2

The API does not specify any way to do it. I would recommend using animate() to do the single pulse. Remember that animations are queued, so you could do like this:

$("#stage").animate({opacity : 0.7}).animate({opacity : 1})
Sign up to request clarification or add additional context in comments.

Comments

1
$('#stage').animate({opacity: 0.70});

Set an interval if necessary to make it pulsate.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.