Home arrow DHTML arrow Page 3 - Filters And Transitions In IE5

A Little Transparency - DHTML

You may not know this, but Internet Explorer 4.x and above hasimage manipulation capabilities similar to those normally found only inimage editing programs like Adobe Photoshop. This article takes a look atIE5's image filters, and demonstrates how they can help you add specialeffects to your images and text on the fly.

TABLE OF CONTENTS:
  1. Filters And Transitions In IE5
  2. Filtering Out The Good Stuff
  3. A Little Transparency
  4. Shadow Boxing
  5. Putting On Your Mask
  6. Scripting Your Filters
  7. Into The Blender
  8. Revealing The Secret
  9. Zig And Zag
By: icarus, (c) Melonfire
Rating: starstarstarstarstar / 9
October 31, 2000

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
Let's now get into the guts of the various filters available to the Web developer. You've already seen the "flipV" filter, used to flip an object vertically - and Internet Explorer also comes with a corresponding "flipH" filter, used to flip objects horizontally. Take a look.

<html><head><style type="text/css">div.flipped {position: absolute; top: 0; left: 0; font-family: Arial;font-weight: bolder; filter: flipH}</style></head><body><div class="flipped">I'm flippin' out here!</div></body></html>The very powerful "alpha" filter allows you to control the alpha, or transparency, levels of the image. By specifying the level of opacity on a scale on a 0 to 100 scale, you can alter the appearance of an image substantially.
<html>
<head>
</head>
<body>
<img src="face.gif" border="0" style="filter: alpha(opacity=50)">
</body>
</html>
and

Or you could also make the image vanish completely - although why you would want to do this is beyond me!
<html>
<head>
</head>
<body>
<img src="square.gif" border="0" style="filter: alpha(opacity=0)">
</body>
</html>
Now you see it, now you don't!

This article copyright Melonfire 2000. All rights reserved.

 
 
>>> More DHTML Articles          >>> More By icarus, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

DHTML ARTICLES

- Google Gives Buckyball a Tribute Doodle in H...
- Rough Guide To The DOM (part 2)
- Rough Guide To The DOM (part 1)
- Filters And Transitions In IE5
- Understanding Embedded Fonts

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: