Hoi,
Het eerste werkt niet of ik doe iest fout, ik kan namenlijk de laatste regel voor div en postamble niet aanpassen. Dus heb ik hetgene geplakt waar het kon en krijg ik het volgende. Ik heb de site geupload en hij doet vanalles vreemds.
Ga nu het ander even proberen
<!-- Header Code -->
<!--Header code for Frame met gekoppeld document ifrm_1 -->
<script type="text/javascript">
function AutoIFrame(id){
if (!window.opera && !document.mimeType && document.all && document.getElementById){
parent.document.getElementById(id).style.height=this.document.body.offsetHeight+"px";}
else if(document.getElementById) {
parent.document.getElementById(id).style.height=this.document.body.scrollHeight+"px"}}
</script
<!-- Body Code -->
<!-- Frame met gekoppeld document ifrm_1 -->
<!--Preamble-->
<div style="position:absolute; left:9px; top:250px; width:974px; height:700px; /*MainDivStyle*/" __AddCode="here">
<!--MainDivStart-->
<iframe id="mijniframe" name="doelframe" src="pagina1.htm" scrolling="no" marginwidth=5 marginheight=5 frameborder=0 vspace=0 hspace=0 style="overflow:visible; width:100%;"></iframe>
<br>
Met <a href="pagina1.htm" target="doelframe">deze link</a> laad je pagina 1 in het iframe.<br>
Met <a href="pagina2.htm" target="doelframe">deze link</a> laad je pagina 2 in het iframe.
<script language="javascript" type="text/javascript">
//onload = iFrameHeight;
function iFrameHeight() {
var h = 0;
if ( !document.all ) {
h = document.getElementById('blockrandom').contentDocument.height;
document.getElementById('blockrandom').style.height = h + 60 + 'px';
} else if( document.all ) {
h = document.frames('blockrandom').document.body.scrollHeight;
document.all.blockrandom.style.height = h + 20 + 'px';
}
}
</script>
<div class="contentpane">
<iframe
onload="iFrameHeight()"
id="blockrandom"
src="http://shop.kralen-kitsch.nl"
width="100%"
height="250"
align="top"
scrolling="no"
frameborder="0"
class="wrapper"
target="bottom"
name="naamvanframe">Uw browser ondersteunt geen inline frames. U kunt deze site niet bezoeken.</iframe>
<iframe id="ifrm_1" name="ifrm_1" src="http://shop.kralen-kitsch.nl" style="width:974px; height:700px; /*Tag Style*/" scrolling="no" __AddCode="here"></iframe>
</div>
<!--Postamble-->