I would like to automatically resize a window to its content. I was thinking
of using an outer table to detect the size of my content, then use
window.resizeTo ( ).
The problem is I'm not sure how I can determine the size of what I think is
referred to as the 'chrome' - the window borders, toolbars, etc.
Is there a way to determine the height and width of the chrome so that I can
supply the correct parameters to the resizeTo method?
of using an outer table to detect the size of my content, then use
window.resizeTo ( ).
The problem is I'm not sure how I can determine the size of what I think is
referred to as the 'chrome' - the window borders, toolbars, etc.
Is there a way to determine the height and width of the chrome so that I can
supply the correct parameters to the resizeTo method?
Comment