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 body

I set the height of the body to 100% and one and ; Nbsp; has tried to add, but it does not work.

You can & lt; Body onload = "set a javascript event in doStuff)

or set CSS to a certain pixel height such as body {height: 250px} .


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -