...

View Full Version : Image map troubles



_Cyrax
09-06-2007, 06:47 AM
grrr i no this question has been posted but it seems like no one has the answer?

I'm creating an image map, complete with a menu bar attached to the image, however, i want these links to open into a window or I frame inside a part of the image that i designated for it.

My problem is that I'm not even sure if this is possible. here's my code:

<body bgcolor="black" scroll="no">

<br><br><br>

<center>
<img src="graphics/theusedmainsiteimgmap2.jpg" USEMAP="#theusedmainsiteimgmap2" BORDER=0>
<map name="theusedmainsiteimgmap2">
<area name="mainbox" shape="rect" coords="279,342,814,590" href="mainbox" alt="mainbox" OnMouseOver="window.status='mainbox'; return true" OnMouseOut="window.status=''; return true" target="mainbox">

( I want this link below to open into the area designated above)
<area name="link" shape="rect" coords="38,566,165,609" href="http://www.google.com" alt="google" target="mainbox">
</map>


If you can please please help me with this problem it would be greatly appreciated.


cheers.
_Cyrax

_Aerospace_Eng_
09-06-2007, 08:08 AM
I'm not sure what you are trying to do. Are you trying to open the link in another part of the image map or inside of an iframe? If its an iframe then you need to remvoe the name="mainbox" from the area in the first part.

_Cyrax
09-06-2007, 08:20 AM
I'm not sure what you are trying to do. Are you trying to open the link in another part of the image map or inside of an iframe? If its an iframe then you need to remvoe the name="mainbox" from the area in the first part.


I'm trying to open links in the image map to another designated part of the SAME image map. So how do I achieve this? do I need Iframes or am I jus a noob and using the wrong terms? Please if you understand help me, i've been scratching my heads for hours and smoked a pack of cigarettes.


lol.


cheers.
_Cyrax



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum