I am wondering if there is a css [or other type of] code that would enable a fade in/fade out image mouseover transparency?
picture this:
image is slightly transparent,
mouseover: *FADE INTO* image
mouseout: *FADE OUT* of image
back to slightly transparent.
this is what I have, it include the transparency of image, the mouseover/mouseout, the only thing missing [and need help with] is the FADE IN/FADE OUT, in other words SLOW DOWN/ADD A TIME SEGMENT TO WHICH THE TRANSPARENCY MOUSEOVER/MOUSEOUT OCCURS?:
after that, how do I embed a link to the image? [sorry, I'm a newbie]
<html>
<head>
<style type="text/css">
img
{
opacity:0.9;
filter:alpha(op acity=10);
}
</style>
</head>
<body>
<img src="http://farm5.static.fl ickr.com/4100/4814101144_07ce 8f4e8e_b.jpg" width="150" height="350" alt="the fall"
onmouseover="th is.style.opacit y=1;this.filter s.alpha.opacity =100"
onmouseout="thi s.style.opacity =0.9;this.filte rs.alpha.opacit y=10" />
</body>
</html>
picture this:
image is slightly transparent,
mouseover: *FADE INTO* image
mouseout: *FADE OUT* of image
back to slightly transparent.
this is what I have, it include the transparency of image, the mouseover/mouseout, the only thing missing [and need help with] is the FADE IN/FADE OUT, in other words SLOW DOWN/ADD A TIME SEGMENT TO WHICH THE TRANSPARENCY MOUSEOVER/MOUSEOUT OCCURS?:
after that, how do I embed a link to the image? [sorry, I'm a newbie]
<html>
<head>
<style type="text/css">
img
{
opacity:0.9;
filter:alpha(op acity=10);
}
</style>
</head>
<body>
<img src="http://farm5.static.fl ickr.com/4100/4814101144_07ce 8f4e8e_b.jpg" width="150" height="350" alt="the fall"
onmouseover="th is.style.opacit y=1;this.filter s.alpha.opacity =100"
onmouseout="thi s.style.opacity =0.9;this.filte rs.alpha.opacit y=10" />
</body>
</html>
Comment