Topic awaiting preservation: SHORT DEADLINE : How do you get the total page/document height? |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Northumberland, England |
posted 06-07-2003 02:05
Hi again, |
Maniac (V) Inmate From: Brisbane, Australia |
posted 06-07-2003 08:42
This is how I do it: |
Paranoid (IV) Inmate From: Northumberland, England |
posted 06-07-2003 17:21
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 |
posted 06-08-2003 05:55
Oh... that... |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-08-2003 06:06
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 |
posted 06-09-2003 00:09
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 |
posted 06-09-2003 00:21
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. |