window.open minimized

  • Thread starter Thread starter Steve Covert
  • Start date Start date
S

Steve Covert

I apologize if this resolution is commonplace, but I have not found a
solution as of yet.
When I open a popup window from asp.net using Javascript as follows:
Page.RegisterStartupScript("Title", "window.open(args)");

the new window opens, flickers for a second, and then minimizes.

There must be a fix for this.

Any ideas appreciated!

Steve Covert
 
To open a 400x300 window, use the following:

window.open("aa031203a.htm", "example1", "width=400, height=300, location=yes, menubar=yes, status=yes, toolbar=yes, scrollbars=yes, resizable=yes");

HTH
 
Thanks for your reply, the window does open, but instantly minimizes. That's
the problem.

Ravikanth said:
To open a 400x300 window, use the following:

window.open("aa031203a.htm", "example1", "width=400, height=300,
location=yes, menubar=yes, status=yes, toolbar=yes, scrollbars=yes,
resizable=yes");
 
your problem lies elsewhere. the default behavior is to open a window and
keep it opened unless instructed otherwise.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top