Anybody know where I can get expandable Iframes that work in FireFox??
+rep for help
Printable View
Anybody know where I can get expandable Iframes that work in FireFox??
+rep for help
dynamicdrive.com
Ive tried that it doesent work for me :S
Idk, but I am looking for the exact same thing.
HTML Code:<html>
<head>
<script language="JavaScript">
function iFrameHeight() {
if(document.getElementById && !(document.all)) {
h = document.getElementById('custFrame').contentDocument.body.scrollHeight;
document.getElementById('custFrame').style.height = h;
}
else if(document.all) {
h = document.frames('custFrame').document.body.scrollHeight;
document.all.custFrame.style.height = h;
}
}
</script>
</head>
HTML Code:<body onLoad="iFrameHeight()">
<iframe src="http://www.bbc.co.uk" width=225 scrolling=no frameborder=0 id="custFrame"; ></iframe>
</body>
</html>