friday
05-24-2004, 05:09 AM
I have this in my head:
<script language="javascript">
function openWindow(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+''
newWindow = window.open(mypage,myname,settings)
}
</script>
And I have this in my body tag:
<body background="images/achtergrond.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="preloadImages(); javascript:openWindow('signup.php','signup','350','20','no')">
The popup window works fine, no problem at all on windows, but ON MAC the window never pops up. Neither on Internet Explorer or Safari.
Any idea?
<script language="javascript">
function openWindow(mypage,myname,w,h,scroll)
{
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+''
newWindow = window.open(mypage,myname,settings)
}
</script>
And I have this in my body tag:
<body background="images/achtergrond.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="preloadImages(); javascript:openWindow('signup.php','signup','350','20','no')">
The popup window works fine, no problem at all on windows, but ON MAC the window never pops up. Neither on Internet Explorer or Safari.
Any idea?