window.open minimized

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
 
G

Guest

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
 
S

Steve Covert

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");
 
A

Alvin Bruney [MVP]

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

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top