IE geeft een fout in de code aan...
Dit is een screenshot:
[smallimg]http://www.freewebs.com/hiddevankoningsveld/screenshot.jpg[/smallimg]
ik heb het idee dat ik de variabele 'inhoud' mee moet geven aan het iframe, maar hoe doe ik dat, als dat het probleem is?
Alvast bedankt!
Mod-edit: Volgende keer graag de[smallimg] -tag gebruiken
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DEMONKID</title>
<script language="JavaScript">
var y;
var inhoud = document.body.scrollHeight;
var inhoud = document.body.offsetHeight
if (inhoud > inhoud) {
y = document.body.scrollHeight;
}
else {
y = document.body.offsetHeight;
}
//set iframe height to our needed space, if present
var ourFrame = window.parent.document.getElementById('inhoud');
if (ourFrame) {
ourFrame.style.height = y + "px";
}
</script>
<style type="text/css">
<!--
body {
background-color: #000000;
background-image: url(images/markk.png);
background-repeat: no-repeat;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script></head></head></head></head></head></head>
<body>
<table width="501" border="0" align="right" bordercolor="#000000">
<tr>
<th width="495" height="34" scope="col"><div align="left"><img src="images/content_01.png" alt="menu" width="443" height="32" border="0" usemap="#Map" />
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','25','height','32','title','musicplayer','src','flash/musicplayer','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/musicplayer' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="25" height="32" title="musicplayer">
<param name="movie" value="flash/musicplayer.swf" />
<param name="quality" value="high" />
<embed src="flash/musicplayer.swf" width="25" height="32" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
</object>
</noscript></div></th>
</tr>
<tr>
<th width="495" height="504" align="center" valign="top" bordercolor="#E1E1E1" background="/images/content_02.png" bgcolor="#E1E1E1" scope="row"><P>
<iframe src="bewerken/about.html" width="495" height="500" frameborder="0" class="iframe" style="border: solid 0px #FF0000;" allowtransparency> </iframe>
</P></th>
</tr>
</table>
<p> </p>
<map name="Map" id="Map"><area shape="rect" coords="17,8,59,24" href="index2.html" target="_self" alt="Main" />
<area shape="rect" coords="70,8,121,24" href="about.html" target="_self" alt="About" />
<area shape="rect" coords="133,8,160,24" href="art.html" target="_self" alt="Art" />
<area shape="rect" coords="177,8,219,24" href="blogger.html" target="_self" alt="Blog" />
<area shape="rect" coords="233,8,275,23" href="http://demonkid.hiddevk.nl/shop/" target="_blank" alt="Shop" />
<area shape="rect" coords="292,8,332,25" href="links.html" target="_self" alt="Links" />
<area shape="rect" coords="347,7,417,26" href="contact.html" target="_self" alt="Contact" />
</map></body>
</html>
Dit is een screenshot:
[smallimg]http://www.freewebs.com/hiddevankoningsveld/screenshot.jpg[/smallimg]
ik heb het idee dat ik de variabele 'inhoud' mee moet geven aan het iframe, maar hoe doe ik dat, als dat het probleem is?
Alvast bedankt!
Mod-edit: Volgende keer graag de
Laatst bewerkt door een moderator: