View Full Version : how to change usemap value along with src?

08-20-2002, 08:14 AM

I'd like to get an onClick event to change the value of USEMAP so I can replace one clickable image with another in the same document - each having different clickable areas of course.

Tho I'm a novice, I've spent a few hours trying to find a way, and while I've learned quite a bit (like USEMAP isn't addressable), I'm no nearer a good solution...


08-20-2002, 10:16 AM
you could put your images on different divs and show/hide them as you needed them.

hope this helps


08-20-2002, 08:34 PM
Thanks Martin

I did try that, and if it weren't for the fact <div>'s get positioned relative to the page, I would have gone with it. May do it yet, but it means using all <div>'s on the page. Was hoping for some script way.


Willy Duitt
12-27-2004, 03:29 AM
USEMAP is addressable....
Using javascript, try: useMap


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum