![]() Topic awaiting preservation: SHORT DEADLINE : How do you get the total page/document height? (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Northumberland, England |
![]() Hi again, |
Maniac (V) Inmate From: Brisbane, Australia |
![]() This is how I do it: |
Paranoid (IV) Inmate From: Northumberland, England |
![]() Dracusis, from looking at that script with my naive little eyes, I get the impression it only will give me the height of the inner part of the window and not the overall height of the document itself including the parts that are still off screen - you get me? |
Maniac (V) Inmate From: Brisbane, Australia |
![]() Oh... that... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() I don't think that'll work, because the body of the document is always the height of the document window, with a scrollbar (the main scrollbar). |
Paranoid (IV) Inmate From: Northumberland, England |
![]() cheers buddies, this is going well - the only browser I can't get to work is opera 6. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Opera 6 is generally hopeless when it comes to the DOM. There may be a way, but I haven't worked with that particular version of Opera, and it's unlikely that it's really worth figuring out. Instead, I encourage you to find an acceptable alternative to whatever feature you're implementing that people can use when their browsers don't support your script. |