Team:Nankai

From 2014.igem.org

(Difference between revisions)
Line 55: Line 55:
       <iframe src="http://inankai.cn/igem/" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" width="765" height=100% id="iframepage" name="iframepage" onLoad="iFrameHeight()" ></iframe>
       <iframe src="http://inankai.cn/igem/" 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>
     </div>

Revision as of 16:01, 10 October 2014


Team:Nankai - 2014.igem.org