blob: 069ccba45fdcb69f63a3eed23b5c36675f49d0c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<!DOCTYPE HTML>
<html>
<body onload="doTest()">
<iframe id="f" src="1242172-1-subdoc.html" style="width:800px; height:100px; border:1px solid black"></iframe>
<script>
function doTest() {
f.contentDocument.body.offsetTop;
f.style.height = "200px";
}
</script>
</body>
</html>
|