Hello
I have a modal dialog window which I triggered using:
window.showModalDialog()
in the HTML page that is rendered inside the window I place various controls.
I would like to know what is the final dimensions of the window. i.e what is the actual width and height (in pixels) that the window is occuppying on the screen.
I know that this information is browser specific as each browser renders its elements a bit different.
Still I hope that I have access to this information in the onload() event of the page.
Can someone show me how to obtain this info?
I tried:
document.body.clientHeight
document.body.scrollHeight
but both seem to not be affected by the amount of content in the page
regards