aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Adjusting the position of dialogue box when main window is restored. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Adjusting the position of dialogue box when main window is restored." Watch "Adjusting the position of dialogue box when main window is restored." New topic
Author

Adjusting the position of dialogue box when main window is restored.

Santhosh Gowd
Greenhorn

Joined: Nov 28, 2011
Posts: 13
I have a parent window and a dialogue box inside the parent window. Dialogue box is centered relative to the parent window.

Now, when I restore the parent window, the dialogue box should be automatically centered relative to the new window size. How can i achieve this?

I am using internet explorer 8. Change should reflect in all IE versions.
Praveen Kumar M K
Ranch Hand

Joined: Jul 03, 2011
Posts: 256
Hi Santhosh,

Just need a little more details,

1) Are you referring to a windows dialog box? I mean the basic one that you can create Javascript.
2) A dialog box of a user interface framework? For example a user interface tool like Flash has its own modal and non-modal dialog boxes.
Santhosh Gowd
Greenhorn

Joined: Nov 28, 2011
Posts: 13
I am referring to the windows pop up, created using Javascript. I mean, through Js, we redirect it to some jsp. So on the pop up window we are showing some other jsp.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19784
    
  20

We have a separate forum for HTML and JavaScript. I'll move this thread to it.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adjusting the position of dialogue box when main window is restored.