height og width
Jeg ønsker at åbne disse to links i et vindue som passer til brugerens opløsning. Hvad gør jeg forkert?<script type="text/javascript"><!--
var width = screen.width;
var height = screen.height;
dokument.write("<area shape=\"rect\" coords=\"12,254,233,390\" href=\"#\" onclick=\"window.open('servlet/Start','Start','width=\"+width+\",height=+\"height\",top=0,left=0'); return false\" onmouseover=\"this.style.cursor='hand'\" alt=\"Mortallove\">");
dokument.write("<area shape=\"rect\" coords=\"453,256,687,422\" href=\"#\" onclick=\"window.open('servlet/Startbeauty','Beauty'); return false\" onmouseover=\"this.style.cursor='hand'\" alt=\"All The Beauty\">");
-->
</script>
