Closed Thread Icon

Topic awaiting preservation: opacity in Safari (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=24727" title="Pages that link to Topic awaiting preservation: opacity in Safari (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: opacity in Safari <span class="small">(Page 1 of 1)</span>\

 
bsilby
Nervous Wreck (II) Inmate

From: Christchurch
Insane since: Sep 2004

posted posted 01-19-2005 02:32

Hi all,
I'm wondering if anyone can tell me if opacity works in Safari. I'm doing a site redesign, and I'm using some DIVs that are semi transparent.

It looks good in IE and FF, but the layers are not transparent in Safari.

For IE I'm using:

code:
style.filter="alpha(opacity="+opacityLevel+")";


No problems here.

For DOM 2 I'm using:

code:
style.MozOpacity=opacityLevel/100;


Works fine in Firefox, but seems to have no effect in Safari.

I'd be happy for any advise.

Cheers,
Brent.

BRENT SILBY
www.def-logic.com
Neo-Arcade Videogames

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 01-19-2005 02:40

Have you tried the proprietary -khtml-opacity property ? and the standard ( and dead simple ) CSS3 opacity property ? it works in FireFox.

« BackwardsOnwards »

Show Forum Drop Down Menu