Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. how to get height of a page

how to get height of a page

Scheduled Pinned Locked Moved Web Development
htmltutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    ic3b3rg3
    wrote on last edited by
    #1

    Hi all, I am developing a web page that has an inside. productDetails page is generated by users in html format and there is no standard layout. So when I show this page in an iframe I want to know the height of the page so that there wouldn't be any white blank places in the page. I also do not want vertical scroll bars. So I think I have to find the height of the page in iframe's src. Is there anyway I can do this ? Thanks in advance. </x-turndown>

    K 1 Reply Last reply
    0
    • I ic3b3rg3

      Hi all, I am developing a web page that has an inside. productDetails page is generated by users in html format and there is no standard layout. So when I show this page in an iframe I want to know the height of the page so that there wouldn't be any white blank places in the page. I also do not want vertical scroll bars. So I think I have to find the height of the page in iframe's src. Is there anyway I can do this ? Thanks in advance. </x-turndown>

      K Offline
      K Offline
      Kanjinghat
      wrote on last edited by
      #2

      var SHeight = screen.height will give you the page height.

      Ramesh.Kanjinghat

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups