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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resize Image - recoordingate Image Maps

Status
Not open for further replies.

tinac99

Programmer
Jan 17, 2002
58
US
Hi,

I have an image which I resized. When I resize the image, the coordinates in the image map still reflect the original size. How can I make the image map coordinates go with the resized image?

e.g.
<img id="ImageMenu" src="menubar-small.jpg" usemap="#menubar" border="none" Width="1108px" />

<map id="menubar" name="menubar" COORDSCALE="ABSOLUTE|RELATIVE">
<area coords="1, 1, 68, 22" href="../ocda/default.asp" shape="rect" alt="Home" target="_self" />
<area coords="72, 1, 159, 21" href="QUERY.ASP" shape="rect" alt="Menu1" target="_self" />
<area coords="162, 1, 230, 21" href="default.asp" shape="rect" alt="Menu2" target="_self" />
<area coords="233, 1, 334, 21" href="ressrch.asp" shape="rect" alt="Resources" target="_self" />
</map>

Thanks for your help!

TinaC99
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top