how to get only the document size
|
| View previous topic :: View next topic |
| Author |
Message |
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
Is there a way to get the document size and not the window size?
I dont care how big the window is, but what i need is to find out the viewable space of the web page
Everything i keep finding is the window size |
| |
|
|
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
| Document.body.offsetHeight |
| |
|
|
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
| And offsetLength i assume? |
| |
|
|
Kopilman
Joined: 25 May 2006 Posts: 162
|
| Width |
| |
|
|
Peter Pitt
Joined: 20 May 2006 Posts: 114 Location: Egypt
|
Aye
Thx. |
| |
|
|
|
|