I want to flip (individual) images in an image map. I can't figure out how to do it. Does anyone know if this is possible? If so, can you provide a starting point?
Thanks!
I think what I did was go into the <map> in each of the <area> tags I put the Onmouseover="<<NAME_OF_FUNCTION_HERE>>()"
I.E.
I use Dreamweaver so it does this
onMouseOver="MM_swapImage('NameofImage','','../images/newimagename.gif',1)" onMouseOut="MM_swapImgRestore()"
You need to have the onmouseover event linking to a java function. In the sample I posted earlier, it calls MM_swapImage. Simply putting in the image you want to display with a rollover will not work. What HTML editor are you using? to the best of my knowledge most will have built in rollovers for images (I know for a fact Dreamweaver does)! But if not you could check out
Hi-I use textpad, although I did try dreamweaver and it does not seem to provide rollovers for image maps, just for single images. I've looked all over the internet for a script to use on an image map and haven't found any, that's why I'm wondering if it could be done. Actually, I've found scripts that will flip the entire image, I don't want that to happen, I want to flip individual parts of an image.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.