E
Eric Osman
Hi,
When I run the following html file on netscape, and the button is
clicked, the new window pops BEHIND all my other windows.
How can I easily fix this html file so the window comes up in front
(like a standard alert window would) ?
Thanks. /Eric
Here's the html file (feel free to copy-paste it to try it) :
<html><head><script><!--
function showWin() {
var popWin=window.open("","Pop","width=600,height=100,resizable=yes");
var hh="<HTML><HEAD><TITLE>Answer</TITLE></HEAD>";
hh+="<BODY><form><textarea cols=30 rows=3>You may highlight or edit";
hh += "</textarea></form></BODY></HTML>";
popWin.document.write(hh);
popWin.document.close();
}
// --></script></head><button type=button
onmousedown='showWin();'>Press to create popup window</button></html>
When I run the following html file on netscape, and the button is
clicked, the new window pops BEHIND all my other windows.
How can I easily fix this html file so the window comes up in front
(like a standard alert window would) ?
Thanks. /Eric
Here's the html file (feel free to copy-paste it to try it) :
<html><head><script><!--
function showWin() {
var popWin=window.open("","Pop","width=600,height=100,resizable=yes");
var hh="<HTML><HEAD><TITLE>Answer</TITLE></HEAD>";
hh+="<BODY><form><textarea cols=30 rows=3>You may highlight or edit";
hh += "</textarea></form></BODY></HTML>";
popWin.document.write(hh);
popWin.document.close();
}
// --></script></head><button type=button
onmousedown='showWin();'>Press to create popup window</button></html>