Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opacity change?

Status
Not open for further replies.

fuli42

Technical User
Jul 9, 2002
74
0
0
HU
I've just ran into a script, that faded in/out an image by altering it's OPACITY!
(<a href=&quot;Could you tell me which browser support Opacity, and if it can be altered to work on NN4.x as well?
I was doing the same effect with animated gifs, or multiple jpegs, of course this took up much more space...
THanks
 
That script will only work in IE4+. I'm pretty sure you'd have to use different images in NN4. To make it compatible with IE5.5+, NN6+, and Mozilla 1.0+, use SVG. Unfortunately, your users will have to download the SVG viewer plug-in to view it.

Hope that helps!

Happy coding! :)
 
NN4 is impossible.

Netscape 6 as well as Mozilla or any gecko based browsers can use &quot;document.getElementById(id).style.MozOpacity = percentage&quot; to change an element's opacity. Gary Haran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top