plq
asked on
Resizing a showModalDialog from within
Can a html (asp) page opened using showModalDialog resize its own window ?
We have a dialog box page which is called from many different places at a standard 800x600 px. Now we want it to be a bit bigger, but the calling size could be different at different customer sites. We want to force its size to be what it needs to be wherever it was called from.
I've always thought it daft that its the caller that determines the dialog window size, in vb for example its always the dialog box that determines its own size.
We have a dialog box page which is called from many different places at a standard 800x600 px. Now we want it to be a bit bigger, but the calling size could be different at different customer sites. We want to force its size to be what it needs to be wherever it was called from.
I've always thought it daft that its the caller that determines the dialog window size, in vb for example its always the dialog box that determines its own size.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cool works a treat
Thank you
Thank you
ASKER
I will give window.dialogHeight and window.dialogWidth a quick try.. thanks