popup midten af skærmen?
<html><head>
<title>..:: Name ::..</title>
<script>
function NewWin () {
myX = (screen.availWidth-350)/2;
myY = (screen.availHeight-200)/2;
Win=window.open('main.htm','',
'width=800,height=600,screenX='+myX+',left='+myX+',screenY='+myY+',top='+myY+'')
}
</script>
</head>
<body><a href='java script:NewWin()'>Skip Intro.</a>
</body>
</html>
Den kommer ikke midt på skærmen... why?