NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Pop-Up Window Auto Minimizing?


Joined: 22 Dec 2007
Posts: 38
Reply with quote
I have a pop-up within my script, but whenever it is activated, it is automatically minimized before user input, which is not the desired action. In the Dock .ini, it doesn't seem to matter what parameter is associated with:

NoIEPopupMenu=0

Any ideas on why this would happen? I do not experience this behavior running the same script in PhpED or under Apache/PHP, and this is an integral part of my script.

Thanks,

Lee
View user's profileFind all posts by LovinItAllSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
Could you please create a short sample and send it to NuSphere Support?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 Dec 2007
Posts: 38
Reply with quote
I've sent the sample to your email.

Lee
View user's profileFind all posts by LovinItAllSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
no, it does not get minimized. It appears below the main window in Z-order.
To get it active you may want to add .focus() call like below

var v = window.open(blahblahblah);
v.focus();

and btw, to avoid opening multiple popups you may want to use target name in window.open() method and do not forget to add semicolon after it.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 Dec 2007
Posts: 38
Reply with quote
Ah...that makes sense. It works properly in all environments except for Dock, where it works as a pop-under. I'll give your solutions a try.

Thanks,

Lee
View user's profileFind all posts by LovinItAllSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
I'd recommend you to use IE dialogs instead of window.open.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 Dec 2007
Posts: 38
Reply with quote
A Windows dialog box is not appropriate for I'm doing. Though the example I sent you simply had a line of text, the pop-up I present to my user has multiple list boxes with multiple options. After the options are selected, code is executed within the pop-up.
View user's profileFind all posts by LovinItAllSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
Why don't you check window.showModalDialog() and window.showModelessDialog(). They are a bit more flexible and not any harder than window.open().
See MSDN for further details.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] Pop-Up Window Auto Minimizing?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic