Jump to content

Image fade in/out on mouseover/mouseout


RopeADope

Recommended Posts

I have a problem that seems somewhat complicated.  I have an simple mouseover/mouseout image swap on my site.  What I'd like to have it do, is onmouseover(fade out src image) and onmouseout(fade in src image).  I've seen a lot of code for doing swaps and such, but nothing quite like what I'm looking for.  Can anyone provide a snippet to get me started or a link to a tutorial?(P.S. I hardly know any javascript...I can do mouseovers and that's about it)

Link to comment
Share on other sites

use jquery ..very simple

 

jQuery and other libraries are kind of my last choice.  I realize it'd be easier, but what's the point of putting it on your own website if you can't do it yourself?  I want to at least attempt to make the effect myself.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.