Team:ITESM-Guadalajara

From 2014.igem.org

(Difference between revisions)
Line 27: Line 27:
   <!-- Functionallity and behaviour JS -->
   <!-- Functionallity and behaviour JS -->
    
    
-
<script type="text/javascript">
 
-
        function calcHeight()
 
-
        {
 
-
        //find the height of the internal page
 
-
        var the_height=
 
-
        document.getElementById('the_iframe').contentWindow.
 
-
        document.body.scrollHeight;
 
-
 
-
        //change the height of the iframe
 
-
        document.getElementById('the_iframe').height=
 
-
        the_height;
 
-
        }
 
-
</script>
 
-
 
Line 240: Line 226:
</head>
</head>
-
<body>
+
<body style="margin: 0px; padding:0px; height: 100%; overflow:hidden; ">
 +
<form id="form1" runat="server" style=" height: 100%">
 +
<div style=" height: 100%">
-
<iframe width="100%" src="http://www.sergionc.com/web/"
 
-
    scrolling="no" id="the_iframe" onLoad="calcHeight();" height="1px" frameborder="0" ></iframe>
 
 +
    <table style="width: 100%; height: 100%" cellspacing="0"  cellpadding="0">
 +
        <tr>
 +
            <td valign="top" align="left" height="100%">
 +
                <iframe style="overflow:hidden;height:100%;width:100%;margin: 0px; padding:0px;"
 +
                        width="100%" height="100%" frameborder="0" scrolling="no"
 +
                        src="http://www.sergionc.com/web/" ></iframe>
 +
            </td>
</body>
</body>
</html>
</html>

Revision as of 05:42, 5 September 2014