Question : open window  fitting an image

when you click on "Modifications" on the startpage of http://www.hwfguitars.tk/ a  window with just an image opens. But the window is much to big for that image. I tried to force the window  to open just the size the picture has. I tried this on the link "Impressum". But something does not work as you can see when you click it.
Below ist the code I used to do this.

Does anybody see where I am wrong?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  <meta http-equiv="Content-Script-Type" content="text/javascript"/>
  <meta name="Generator" content="Corel PHOTO-PAINT 14.0"/>
 
<SCRIPT LANGUAGE="JavaScript">
function OpenImpressum()
{
var MyWindow;
 MyWindow = open(
   "Impressum.html",
   "MyWindowOpen",
   "width=383, height=678, resizable=no, directories=no, menubar=no, location=no");
 'MyWindow.moveTo(400,250);
 'MyWindow.focus();
}
</SCRIPT>

<title>HWFGuitars, Handmades, Modifications, Repairs</title>

</head>

<body bgcolor="#000000">
<center>

<table border="0" cellspacing="0" cellpadding="0" width="1161" height="150">
  <tr align="left" valign="top">
    <td>
	<IMG src="Bilder_Allgemein/hp.jpg" ALT="" USEMAP="#header" BORDER=0 hspace="17" vspace="30">

	<MAP NAME="header" MAP ID="1">
	<AREA SHAPE=RECT COORDS="520,22,670,55" HREF="handmades.html" title="zu den handgefertigten Gitarren"></AREA>
	<AREA SHAPE=RECT COORDS="700,22,880,55" HREF="in_Erstellung.html" title="Seite in Vorbereitung" target="_blank"></AREA>
	<AREA SHAPE=RECT COORDS="905,58,965,66" HREF="javascript:OpenImpressum()" title="zum Impressum" target="_blank"></AREA>
	</MAP>
    </td>
  </tr>
</table>

</center>

</body>
</html>

Answer : open window  fitting an image

That doesn't necessarily matter. Controls can be infront without being literally "in front".

Have you tried bringing that control to the front?
Right Click > Position > Bring To Front
(Also available on the Arrange Tab).

Random Solutions  
 
programming4us programming4us