Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changeable image maps.

Status
Not open for further replies.

GIGN

Programmer
Oct 6, 2000
1,082
NZ
This looks a bit hopeful as I type it, but; is there any way to chnage parts of an image map - onMouseOver? Any way at all is better than table slicing in my current predicament! ;)
b2 - benbiddington@surf4nix.com
 
If you mean to change the coordinates of sensitive areas CIRCLE, RECT and POLY - no way!

Andrew | starway@mail.com
 
No I don't mean that.I mean sliping in a different slice, but I doubt it, might try clipping some divs - or table slicing.
b2 - benbiddington@surf4nix.com
 
That' because I'm talking to myself.
b2 - benbiddington@surf4nix.com
 
bangers - if you are trying to have two image maps:

<map name=&quot;imapone&quot;>
. . .
</map>

<map name=&quot;imaptwo&quot;>
. . .
</map>

and an image:

<img src=&quot;...&quot; usemap=&quot;#imapone&quot;>

and then use some code to change the usemap attribute of the image:

function changeusemap(){document.images[0].usemap=&quot;#imaptwo&quot;}


sorry, it can't be done theEclipse
eclipse_web@hotmail.com
**\\||It was recently discovered that research causes cancer in rats||//**
 
Well that's completely not what I am doing! I've done it anyway (thanks ;)), and yes you can swap image maps, in a round about way, with rewriting to it's container. But you're right direct swapping of the usemap does not work.bj
b2 - benbiddington@surf4nix.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top