If you are seeing this message, it is possible the page did not load properly. Please hit reload/refresh on your browser.
If you still see this message, you probably do not have a browser that supports web standards, although its content is accessible to any browser or Internet device.

Cool Tips & Tricks Cool Tips & Tricks

Help Communities:
Help Forums Bug Base
<< Prev Topic | Next Topic >>
Cool Tips & Tricks ::: Graphics FAQ ::: Image Opacity - How To IE 5.5 +
New Topic    Add Reply
Topic: Image Opacity - How To IE 5.5 +  (?)  Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend
Boxed Milkdud

Registered User
ezSupporter
Posts: 39
Posted: 8/7/03 9:49 pm    
Image Opacity - How To IE 5.5 +
On how many sites have you seen people have "affiliate" buttons on their site that are somewhat see through, then when you mouseover them they become very bright and clear as they would normally appear without an opacity script?

Well, I think it's time that I should tell you how to do it.

HTML & CSS
You can do this in HTML and CSS if you would like to by simply adding this in place of you current image, or new image if you didn't have on prior.

   <img style="filter:alpha(opacity=xx)" src="http://www.yourimage.gif">


xx being the number you want 0-100 ...

JavaScript

You do this in JavaSscript also if you'd like too. Simply use this one.

  <img style=filter:alpha(opacity=xx) onMouseOut=this.filters:alpha.opacity=xx
onMouseOver=this.filters:alpha.opacity=xx
src=http://www.yourimage.gif> 



onMouseOver, is when you move the mouse cursor over the image
onMouseOut, is when you move the mouse cursor off the image

xx can be any number 0-100

0 is invisible
100 is normal

Edited by: Nutrocker at: 8/8/03 2:57 pm

  reply to this message

Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend

New Topic    Add Reply

jump to:
Topic Control Image::: Topic Commands
<< Prev Topic | Next Topic >>

Icon Legend

reply button:::Reply to Post Button   edit button:::Edit Post Button  delete button:::Delete Post Button (Moderator Only)

subscribe/unsubscribe to thread button:::Subscribe to Thread Button   email to friend button:::Email to Friend Button  



- Cool Tips & Tricks - Graphics FAQ -

Communitiesezboard Help Communities:

Help Forums Help Forums Bug Base Bug Base





Powered By ezboard® Ver. 7.32
Copyright ©1999-2007 ezboard, Inc.