[jQuery] img src replacement
In my footer I have a sign where I want it to say one thing regularly,
and then when someone hovers, i want it to say sometyhing else. I
basically made 2 images, and I just want to switch images on the
hover.
here is my code I used and its not working.:
$
"#footer #footer-contain #availability img"
.hover
function
{
$
this
.attr
{'img src' : './images/avail_hover.png'}
;
}
can anyone help me out with what I need to do?