crash41
03-18-2009, 04:33 PM
I would like a mouseover to force and image swap - and also change the image map that's being used.
So i would like to combine something like this:
the image swap code:
onMouseOver="document.getElementById('mainlink').href=
with something like this - the usemap code:
onMouseOver="document.mainlink.setAttribute('usemap','#Map2',0)
How do i combine those into one? Or can i/should i?
Thanks!
So i would like to combine something like this:
the image swap code:
onMouseOver="document.getElementById('mainlink').href=
with something like this - the usemap code:
onMouseOver="document.mainlink.setAttribute('usemap','#Map2',0)
How do i combine those into one? Or can i/should i?
Thanks!