473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

window.open minimized

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




Nov 18 '05 #1
3 2518

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
--
--
Ravikanth[MVP]
"Steve Covert" wrote:
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





Nov 18 '05 #2
Thanks for your reply, the window does open, but instantly minimizes. That's
the problem.

"Ravikanth[MVP]" <Ra**********@discussions.microsoft.com> wrote in message
news:E4**********************************@microsof t.com...

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
--
--
Ravikanth[MVP]
"Steve Covert" wrote:
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





Nov 18 '05 #3
your problem lies elsewhere. the default behavior is to open a window and
keep it opened unless instructed otherwise.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Steve Covert" <sc*****@codesmithscorp.com> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl...
Thanks for your reply, the window does open, but instantly minimizes.
That's
the problem.

"Ravikanth[MVP]" <Ra**********@discussions.microsoft.com> wrote in message
news:E4**********************************@microsof t.com...

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
--
--
Ravikanth[MVP]
"Steve Covert" wrote:
> 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
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

40
by: Brian Jorgenson | last post by:
On my web page, I have a few hyperlinks with target frame of _blank. The hyperlink brings up a second window, but everytime I click on thie hperlink, it keeps bringing up a new window and not...
2
by: jacek | last post by:
hi, I have a form and onsubmit there's a code like this <form onsubmit="w=window.open(); w.blur(); " > the window opens correctly, all the parameters work just fine, but the window doesn't get...
5
by: Nicolae Fieraru | last post by:
Hi All, I use a simple function on a web site, based on this function: function goVisitSite(Site) { NewWindow1 = window.open(Site, "viewwin",...
7
by: Colleyville Alan | last post by:
I have an app that uses Access to grab various PowerPoint slides using the followhyperlink command. I have set the PPT window to run in a minimized state: FollowHyperlink link Set oPres =...
11
by: objectref | last post by:
Hi to all, is there a way to get the window handle of the main window of an application or process ? For example, if someone opens Microsoft Word, he gets a window so he/she can write text....
4
by: MrMike | last post by:
Hi. I have a hyperlink control (lnkViewLogData) which is assigned the following attribute when the page loads... Me.lnkViewLogData.Attributes.Add("onClick", _ ...
2
by: Charles | last post by:
Is there a way to detect if a window is out of focus? Here's what I need it for: I have a web-based chat application that one of the 2 people chatting may have the chat window open or minimized....
4
by: Hutch | last post by:
I also un-checked all of the check boxes in the database's Startup options menu. I then added a button to the form so that the user can close the database, and another button so that the form can...
1
by: divya kr swami | last post by:
i have open a window javascript that should be close after 5 second. for this i have used following code. function GetMessage() { ...
5
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Dear all, I'd like to know if there is any method to minimize command mode window when a console program is running. In my case, there are several console programs which run periodically in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.