On Apr 17, 2008, at 1:08 PM, Richard W wrote:
>
> Hi There
> I was wondering if anyone else has noticed or experience the weird
> effect that fade has on the screen when viewed in FF on a mac
> (leopard). In safari and opera, even IE run under parallels, there is
> no screen flicker.
> When the fade is occuring, some colours, even the font changes
> slighty, then returns to normal state once the fade has finished. This
> does not occur with a simple timed opacity change, using regular
> javascript. I cannot say I have experienced this with other libraries.
> Is it just the type of screen i'm using, or is this common for FF(2)
> Mac

This is a bug with Firefox. Whenever you use a fade you'll see this.  
The solution is to set the opacity of the body to .999 for Firefox. In  
your stylesheet, just add this rule (or if, you've already got a body  
rule, just add the -moz-opacity: .999;)

body {
-moz-opacity: .999;
}

I prefer to use -moz-opacity instead of opacity, because this only  
appplies to Firefox.

--dave

Reply via email to