![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
What is the correct way to get the dimensions of the displayable window? I.e. I don't want the border or the toolbar to be included in the height or width. I want to request an image from a php page by passing arguments for height and width so that will be rendered to fit exactly in the window. Thanks for any help. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
*http://www.jibbering.com/faq/#FAQ4_9 Thanks, but none of those methods worked for me in IE 6. The DOM method worked great in firefox and on my cell phone. document.documentElement.clientHeight in firefox returns the height that the content spans, not the height of the window ![]() I need a solution that will work across all common browsers and hopefully most cell phones. I assume at the moment this is not possible? Thanks |
#5
| |||
| |||
|
|
In firefox, the error console gives the following message: Error: document.body has no properties Source File: file:///.../dim2.html Line: 4 |
![]() |
| Thread Tools | |
| Display Modes | |
| |