<ole>
'bla.html':
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>TITLE</title>
<style type="text/css">
body, html {
height: 100%;
margin: 0px;
padding: 0px;
}
</style>
</head>
<body>
<iframe id="gnu" src="about:blank"></iframe>
<script type="text/JavaScript">
var fr = document.getElementById("gnu");
if (location.search&&location.search.indexOf("ifr")>0) {
fr.style.height = location.search.split("=")[1] + "px";
fr.src = "blabla.html?beenHere";
}
else fr.src = "blabla.html";
</script>
</body>
</html>
-----------------------------------------
'blabla.html':
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>TITLE</title>
<style type="text/css">
body, html {
height: 100%;
margin: 0px;
padding: 0px;
}
</style>
<script type="text/JavaScript">
window.onload = function() {
if (parent!=window && location.href.indexOf("beenHere")==-1) {
h = document.body.scrollHeight+4;
parent.location.replace("bla.html?ifr="+h);
}
}
</script>
</head>
<body>
Top
<br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br>
Bund
</body>
</html>
- så burde det vist køre :)
/mvh
</bole>