Team:Nankai
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
+ | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
+ | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
+ | <head> | ||
+ | <meta http-equiv="Content-Type" content="text/html; charset=GB2312" /> | ||
+ | <!-- TemplateBeginEditable name="doctitle" --> | ||
+ | <title>Untitled Document</title> | ||
+ | <!-- TemplateEndEditable --> | ||
+ | <!-- TemplateBeginEditable name="head" --> | ||
+ | <!-- TemplateEndEditable --> | ||
+ | </head> | ||
+ | <body> | ||
- | < | + | <div id="leamain"> |
- | + | ||
+ | <iframe src="#" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" width="765" height=100% id="iframepage" name="iframepage" onLoad="iFrameHeight()" ></iframe> | ||
- | </ | + | <script type="text/javascript" language="javascript"> |
- | + | function iFrameHeight() { | |
+ | |||
+ | var ifm= document.getElementById("iframepage"); | ||
+ | |||
+ | var subWeb = document.frames ? document.frames["iframepage"].document : | ||
+ | |||
+ | ifm.contentDocument; | ||
+ | |||
+ | if(ifm != null && subWeb != null) { | ||
+ | ifm.height = subWeb.body.scrollHeight; | ||
+ | } | ||
- | + | } | |
- | + | ||
- | + | ||
- | </ | + | </script> |
- | < | + | </div> |
- | </body></html> | + | </body> |
+ | </html> |
Revision as of 15:59, 10 October 2014
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">