SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist S7even's Avatar
    Join Date
    Jun 2002
    Posts
    481
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    scrollHeight for NS 6

    I need the height of the whole document. With IE and Mozilla i can get it by using scrollHeight. With NS4 i can get by using document.height.
    NS6 doesn't support scrollHeight, and it seems that it has a bug and it gives the window and not the document height when i use document.height.

    How can i get the height of the document for NS6

    (I am using NS6.2.1)

  2. #2
    SitePoint Evangelist S7even's Avatar
    Join Date
    Jun 2002
    Posts
    481
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, I found it!! its offsetHeight. It works for all Mozilla IE5+ and NS6+ .

    Sorry for the useless post.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •