New created popup window automatically minimized!
Hello again everybody,
This time I am having a problem with a popup window.
I have a jsp file that "is supposed" to pop up a window.... I don't really know why this window is created but is automatically minimized!!!
I used the following JavaScript:
function popupPage()
{
windowprops = "height=300,width=450,location=no,"
+ "scrollbars=no,menubars=no,toolbars=no,resizable=n o, menubar=no";
window.open("listUser.jsp", 'listUser', windowprops);
}
At one point, in my jsp file, I have the following form:
<form method="post" action="prg.jsp">
User: <input type="text" tabindex=1 name="user" maxlength=110><br>
<input onclick=formValid() type=button tabindex=2 value="OK">
<input onclick=del() type=button tabindex=3 value="DELETE">
<input onclick="popupPage()" type=button tabindex=4 value="List names" onblur=document.forms[0].nemonico.focus()>
</form>
I have realized that if I delete the following line:
User: <input type="text" tabindex=1 name="user" maxlength=110><br>
the popup page pops up properly.
If I add the line and click the button, the page is created but minimized. To see it, I need to maximize it.... which is not what I really want.
Can you help me again?
Thanks
|