javascript - Faking body.scrollHeight -
I have a JavaScript application that is loading in an iframe (via the Lifier Portlet). The actual HTML is just an empty tag and when the document loads, JS is loaded.
When Page loads in IFam, this body.scrollHeight
property ends 01 because there is no real content before loading in the page.
Is there a way to style or modify the page in such a way that I set the height of the body to 100% and one body
and ; Nbsp;
has tried to add, but it does not work.
You can or set CSS to a certain pixel height such as & lt; Body onload = "set a javascript event in doStuff)
body {height: 250px}
.
Comments
Post a Comment