View Full Version : Expanding Iframes
Sunny.
14-02-2007, 01:23 PM
Does anyone know a tutorial on how to code with expanding iframes?
if you could write a tutorial or find one for me thatd be great
+REP for help
[Ive tried googling it but it doesnt cme up with anything]
if u mean expandable tables i can help you
Sunny.
14-02-2007, 01:34 PM
Iframes can expand btw
Read this
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
but i might need help with expanding tables
Expanding iframes is basically a js code to re-size the iframe to however much content you put in it.
Put the JS code just before your iframe code - bingo.
Bomb-Head
14-02-2007, 02:20 PM
But if you use expandable iframes, won't they just expand over your layout as the layout will be a still picture and not coded to expand?
Expandable Tables tut for you.
http://www.uploadz.co.uk/562tables.zip
But if you use expandable iframes, won't they just expand over your layout as the layout will be a still picture and not coded to expand?
the layout must be able to expand aswell - yes.
use that tutorial then use php includes for the nav
Unpredictible.
14-02-2007, 03:09 PM
http://www.tutorialized.com/tutorials
Has like 1000+ tutorial on everything.
Iframes can expand btw
Read this
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
but i might need help with expanding tables
Seems like a waste of time and resources. If you're gonna use JavaScript, you might as well not use iframes at all.
<html>
<head>
<title></title>
<script type="text/JavaScript">
<!--
try {
var r = new XMLHttpRequest();
} catch(e) {
var r = new ActiveXObject('Microsoft.XMLHTTP');
}
function load(page) {
r.open('get', page);
r.onreadystatechange = proc;
r.send(null);
}
function proc() {
if(r.readyState == 4) document.getElementById('content').innerHTML = r.responseText;
}
-->
</script>
</head>
<body>
<div id="content"></div>
<a href="javascript:load('somewhere.htm');">Somewhere</a>
</body>
</html>
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2026 vBulletin Solutions Inc. All rights reserved.