how to get height of a page
-
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>
-
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>
var SHeight = screen.height
will give you the page height.Ramesh.Kanjinghat