Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006

Adaptive size of the problem IFRAME JS

For instance, the insertion of a index.html iframe needs, but in order to avoid rolling, to set up high, if it is possible to change the height, the need for adaptive

In the head with Inter
"Script>
Change_size function () (
The_table.height the_frame.document.body.scrollHeight + 5.00 =
}
"/script>

Lane added in the body
"Body onload=" change_size (), ""

Then some iframe
"Width= table" 778 "border" 0 "cellspacing" 0 "cellpadding=" 0 "to save the" center "filled="f"" the_table ""
"Tr><td>
"Iframe frameborder=0 scrolling=0 defended" /index.asp "width=" 100% "height" 100% "filled="f"" the_frame "" </iframe>
"/td></tr></table>

With the height of the iframe http://www.unescap.org/epoc/index.asp such as automatic height adjustment.

There is a problem, however, if other server is src things, JS refused to be incorrect report that the visit would not know which prawn say the solution? Thank you! : D

I would like to know this. . . . .

I have encountered this problem, which experts can help ah?




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com