Alternative to fadeOut()

MinhTrung

New Member
I'm using a recursive function like this to create a continuous pulsing effect on a div on my page and it's working. However, it looks like the \[code\]fadeOut()\[/code\] removes the div element from the flow of the document and so the positions of some other elements on my page get shifted. Is there an alternative to this function providing the same functionality of a repeated pulse effect? Code\[code\](function pulse(){ if(needStop) { needStop = false; return; } $('#player1,#score1').delay(200).fadeOut('slow').delay(50).fadeIn('slow',pulse); })();\[/code\]
 
Back
Top