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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Layer Opacity 1

Status
Not open for further replies.

phentalmyst

Programmer
Jan 30, 2001
18
US
Hey guys,

I was just curious if anyone knows of a way to set a layer to have a percentage value of opacity so that some sort of dissolve can be created between an image and the background. If not, I would LOVE to see this as a future dhtml/javascript enhancement.

Thanks in advance!

pm
 
opacity is a percentage! do you mean you want to loop thru, creating a fade in effect? There is probably an effect like that somewhere, check out Msdn.microsoft.com for it.
b[sup]2[/sup] - benbiddington@surf4nix.com
 
For IE you can set the following style for the image
style="filter:alpha(opacity=20)"

I then use javascript to change opacity on mouseover.
My example is my web page:
Mickey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top