PDA

View Full Version : Iframes



Liburd
15-05-2008, 03:04 PM
Anybody know where I can get expandable Iframes that work in FireFox??

+rep for help

:Edzy
15-05-2008, 03:05 PM
dynamicdrive.com

Liburd
15-05-2008, 03:08 PM
Ive tried that it doesent work for me :S

Panikz
15-05-2008, 09:11 PM
Idk, but I am looking for the exact same thing.

:Edzy
15-05-2008, 09:39 PM
<html>
<head>
<script language="JavaScript">
function iFrameHeight() {
if(document.getElementById && !(document.all)) {
h = document.getElementById('custFrame').contentDocume nt.body.scrollHeight;
document.getElementById('custFrame').style.height = h;
}
else if(document.all) {
h = document.frames('custFrame').document.body.scrollH eight;
document.all.custFrame.style.height = h;
}
}
</script>
</head>

<body onLoad="iFrameHeight()">
<iframe src="http://www.bbc.co.uk" width=225 scrolling=no frameborder=0 id="custFrame"; ></iframe>
</body>
</html>

Want to hide these adverts? Register an account for free!