Hello,
I'm opening a popup window with Javascript as follows:
<script language="Javascript">
function openWin() {
window.open('somePage.html', 'newWindow', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=375,height=325');
}
</script>
<a href=openWin()">click to open window</a>
Usually the window opens fine, in front of the parent window, but sometimes it opens up behind the parent window, and users don't know that the window opened up at all.
This only occurs intermittently, and only in IE7. I have never encountered this problem in IE6. I do not have any idea what is causing this problem because I seem to be doing the same thing each time. I'm clicking on the same link, nothing different than before, nonetheless, on occasion the new window will not move to the front unless the user finds the window and brings to the front.
Is there some sort of workaround I can add to the code? is there some sort of IE setting I can change to fix this?
Thanks,
Peter
I'm opening a popup window with Javascript as follows:
<script language="Javascript">
function openWin() {
window.open('somePage.html', 'newWindow', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=375,height=325');
}
</script>
<a href=openWin()">click to open window</a>
Usually the window opens fine, in front of the parent window, but sometimes it opens up behind the parent window, and users don't know that the window opened up at all.
This only occurs intermittently, and only in IE7. I have never encountered this problem in IE6. I do not have any idea what is causing this problem because I seem to be doing the same thing each time. I'm clicking on the same link, nothing different than before, nonetheless, on occasion the new window will not move to the front unless the user finds the window and brings to the front.
Is there some sort of workaround I can add to the code? is there some sort of IE setting I can change to fix this?
Thanks,
Peter