***This will only work in Internet Explorer 4.0 and higher***
In recent versions of Internet Explorer (4.0 and later editions), Microsoft has added an "Alpha Filter" that allows you to
use transparency effects in your web pages. The advantage of using an alpha filter is that the processing is done by the client's browser, so this graphical effect doesn't waste any of the server's resources nor does it add to the user's download time. It is not W3C compliant, however, and will not work in any other type of browsers. There are three types of filter effects you can use, depending on the STYLE value that you set for your filter:
To use a filter with your tags, you need to include it in an in-line style tag. The syntax for the Filter:
- filter: alpha(Opacity="", FinishOpacity="", Style="", StartX="", StartY="", FinishX="", FinishY="");
Opacity
Sets the opacity of the object. 0 = invisible, 100 = completely visible. Sets the start opacity when used in conjunction with FinishOpacity.
FinishOpacity
Sets the opacity for the end of the of the object. Creates a gradient effect.
StartX, StartY, FinishX, FinishY
Sets the coordinates for the opacity to start or end.
Style
Sets the type of gradient. 1 = Horizontal; 2 = Radial; 3 = Rectangular.
Here is an example of a P tag with an Alpha Filter:
Comment on this article or ask us a
question: click here ! |