Bruce Gust
asked on
How are they pulling off this opacity effect?
Head out to http://www.americanidol.com/ and click on the "contestants" link at the top. What's revealed is a series of photos that go from a faded look to a full opacity dynamic.
I've been hunting around for the opacity qualifier, but I have yet to find something that works within the kind of css menu that appears to be the case with idol.
For example, when I try this:
#nav ul {
display: none;
margin: 0;
padding: 0;
width: 200px;
position: absolute;
top: 26px;
left: 0;
background: #ffffff;
opacity:0.4;
filter:alpha(opacity=40);
Everything shuts down.
What am I doing wrong?
I've been hunting around for the opacity qualifier, but I have yet to find something that works within the kind of css menu that appears to be the case with idol.
For example, when I try this:
#nav ul {
display: none;
margin: 0;
padding: 0;
width: 200px;
position: absolute;
top: 26px;
left: 0;
background: #ffffff;
opacity:0.4;
filter:alpha(opacity=40);
Everything shuts down.
What am I doing wrong?
oops.. typed too fast.. there is an extra 'a' at the start of line 2, remove that, and it will work better :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Excellent.. glad that worked for you.
Open in new window