Which is easiest solution for hover images

Posted by Mirage on Stack Overflow See other posts from Stack Overflow or by Mirage
Published on 2010-06-07T07:06:45Z Indexed on 2010/06/07 7:12 UTC
Read the original article Hit count: 143

Filed under:

I am looking for some easy jquery solution for hover images.

Like if i define a class. them jquery should get the current image like

abc.png then chnage that to abc_on.png

and then put that to on hover image

How can i do that.

i don't want to add function for every button.

Just one function and it do all.

My Images all usually imagename.png or imagename_on.png

© Stack Overflow or respective owner

Related posts about jQuery