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!

map dynamic location

Status
Not open for further replies.

taminh

Technical User
Nov 8, 2001
2
FR
Hi, I have a picture (with dynamic size depending on user window) and link to other pictures.
How can I keep relative location of map link in the main picture?

thanks for any help

PS:I have already posted it in the javascript forum but no response :(

<img src=&quot;jk.gif&quot; height=&quot;80%&quot; width=&quot;85%&quot; alt=&quot;jk&quot; usemap=&quot;#jk&quot; border=&quot;0&quot;>
<map name=&quot;jk&quot;>
<area shape=&quot;rect&quot; coords=&quot;310,221,400,270&quot; href=&quot;fsr.gif&quot;></map>
 
The coordinates are relative to the image. Images do not change their size when the window is resized. Since the image is used as a map it makes no sense to shrink it by 85% because you need those coordinates to match the map.

But I am curious. What do you mean by &quot; . . . a picture (with dynamic size depending on user window) . . . ?&quot; How do you do that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top