Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Santhosh Gowd
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20497
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a separate forum for HTML and JavaScript. I'll move this thread to it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic