Click to See Complete Forum and Search --> : Hotspot window size


Lisae
01-08-2003, 12:29 PM
I have an image map and want to control the size of the windows that are opened when the hotspot is clicked on. I tried putting width and height in the area tag, but that didn't work. Anyone know how to do this?

gil davis
01-08-2003, 01:02 PM
Yes. You are going to have to post a link or your code if you want a more detailed answer.

jdavia
01-09-2003, 09:27 PM
Here is the portion of the Map that I inserted this code (in blue). It works in IE and NS. Haven't tried the red, but it is needed for the mouseOut

<AREA SHAPE="RECT" COORDS="16,68,69,105" HREF="javascript:" onMouseOver="win = window.open('1.html','','width=315,height=230');
return true;"" onMouseOut=" win.window.close('Viewer.html','','width= 300,height=220'); return true;">
<AREA SHAPE="CIRCLE" COORDS="83,56,24" HREF="mailto:%20jdavia@ctaz.com" ALT="Reply to" TARGET="_self">
</MAP>

I left the second portion so you have an idea what was changed

You may want to tell it where to place the window. IE puts in in the middle and NS to the upperleft corner