Be a Supporter!

Changing Image Opacity on Rollover

  • 416 Views
  • 4 Replies
New Topic Respond to this Topic
Jams44
Jams44
  • Member since: Nov. 8, 2004
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Changing Image Opacity on Rollover 2006-07-09 17:19:29 Reply

Someone posted a question like this before and I can't figure out where it is. ANyway my question is how do I change the opacity of an image on rollover in CSS, NOT JS. If anyone can tell me or direct me to the correct place that would be muy excellente. BTW Italy wins and Zidane sux.

Jams44
Jams44
  • Member since: Nov. 8, 2004
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Changing Image Opacity on Rollover 2006-07-09 17:29:23 Reply

nvm got it

JeremysFilms
JeremysFilms
  • Member since: Feb. 18, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to Changing Image Opacity on Rollover 2006-07-09 17:29:45 Reply

At 7/9/06 05:19 PM, Jams44 wrote: BTW Italy wins and Zidane sux.

Quite irrelevant, eh?

Anyway, use the alpha filter.

Usage:
filter:alpha(opacity=PERCENTAGE);

Examples:
filter:alpha(opacity=25);
filter:alpha(opacity=89);
filter:alpha(opacity=100);

elbekko
elbekko
  • Member since: Jul. 23, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to Changing Image Opacity on Rollover 2006-07-09 17:41:51 Reply

Doesn't quite work in firefox, although here's a fix:
http://www.gabrielha..y-IE-Mozilla-Firefox


"My software never has bugs. It just develops random features. " - Unknown

[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]

BBS Signature
Jams44
Jams44
  • Member since: Nov. 8, 2004
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Changing Image Opacity on Rollover 2006-07-09 18:06:41 Reply

At 7/9/06 05:29 PM, JeremysFilms wrote: Quite irrelevant, eh?

it was meant to be, and thnx for the code