![]() |
|
|
+ Search |
![]()
|
Mar 17th, 2003 06:55
Klaus Bolwin, philippe verdret,
The following works in MSIE and Mozilla, Netscape, .... height = (!document.all)? window.innerHeight:document.documentElement.offsetHeight; faktor = document.body.scrollHeight/height; If faktor is larger than 1, than the height of the document exceeds the height of the body and the window must be scrollable to show the entire content of the document.