css image fade

liunx

Guest
Hi guys is it possible to this in css. Say you click on a picture it disappears and another takes its place but when you click on the picture that took it'd place it fades out back to the first pic.

ThanksIf I understand you correctly the only way, that I can think of, to do that is with Flash. Though you should note that if you intend to use this on some sort of navigation on a site it is recommended that you don't use Flash or at least have an alternative for it. Unfortunately Flash isn't supported that widely... :(A little JS can vary the opacity of multiple images to produce this effect.

See: <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/showthread.php?s=&threadid=46075ok">http://www.webdeveloper.com/forum/showt ... id=46075ok</a><!-- m --> thanks guys for your helppersonally the way i would do it would be to use an animated gif. Make the animated gif to do the fade you want and have it only loop once so it doesnt repeat. Then just use this image as your second image for hover or whatever :)
 
Back
Top