Popup åbner ikke korrekt i Netscape 7.02 på MacOs 9.1
Bodytag ser sådan ud:<body onLoad='java script:locatePage()'>
Scriptet ser sådan ud (placeret i HEAD):
<script language='javascript'>
function locatePage() {
if ( screen.height < 700 )
newWindowSmall();
else if ( screen.height < 850 )
newWindowMedium();
else newWindowLarge();
}
function newWindowSmall() {
window.open('intro.html','null','height=494,width=755,status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar=no,scrollbars=no,top=1,left=5');
}
function newWindowMedium() {
window.open('intro.html','null','height=494,width=755,status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar=no,scrollbars=no,top=80,left=120');
}
function newWindowLarge() {
window.open('intro.html','null','height=494,width=755,status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar=no,scrollbars=no,top=144,left=216');
}
</script>
Men popuppen intro.html åbner enten ikke eller lukker hurtigt igen??
Jeg har ikke adgang til en Mac - så jeg vil blive taknemlig hvis evt. forslag bliver testet først.
