Ui je sais pas j'ai mis un raffraichissement automatique et il va puit
je viens de l'enlever et ca marche toujours :/ il bug plus par rapport
a ca et je suis incappable de dire pourquoi :(
enfin maintenant le défi c de tout transformer en W3C si vous savez M'aider ;) c pas de refus
<html>
<head>
<script language="Javascript" type="text/javascript" >
function iFrameHeight()
{
var h = 0;
if(document.all) // Internet.Explorer
{
h = document.frames['myIframe'].document.body.scrollHeight;
document.all.myIframe.style.height = h+15;
}
else // fireox.0.9.2 + ; netscape.7.0 +
{
h = document.getElementById('myIframe').contentDocument.body.offsetHeight;
document.getElementById('myIframe').style.height = h+15;
}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin:0px;
background-image:url('Images/fond.jpg');
background-attachment:inherit;
background-position:left;
margin-top: 0px;
background-repeat:repeat;
background-color:#FFFFFF;
margin-left: 0px;
margin-bottom: 0px;
background-position:top;
scrollbar-face-color: #FAF4E4;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-track-color: #000000;
scrollbar-arrow-color: #000000;
height:101%;
}
#ifr{
width:600px;
height:500px;
}
#menu{
width: 168px;
height:25px;
background-color:#000000;
float:left;
}
.Style5 {font-size: 10px}
-->
</style>
<body http-equi='refresh'>
<div id="ifr1" align="center">
<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" style="height:100%;">
<tr><td bgcolor="#000000" colspan="2"
style="height:131px;background-image:url(Images/Baniere.jpg);
background-repeat:no-repeat;"><div
align="center"></div></td>
</tr>
<tr>
<td width="168px" rowspan="2" align="left" valign="top" bgcolor="#000000"><div align="center">
<object
type="application/x-shockwave-flash" data="menu.swf" width="168"
height="418">
<param name="movie" value="menu.swf" />
<p>You
need flash player plugin:
http://www.macromedia.com/go/getflashplayer</p>
</object>
</td>
<td width="100%" height="100%" align="center" valign="top" "style="vertical-align:top;">
<p> </p>
<iframe onLoad="iFrameHeight()" src="pages/accueil.html"
id="myIframe" name="if1" width="600" marginheight="0"
height="500" marginwidth="0" frameborder="no" scrolling="no"
allowtransparency="true">Iframe</iframe>
</table>
</div>
</body>
</html>
Voila le code de A à Z
L'iframe est incompatible W3C :s avec Src c space de mettre une iframe sans Src
et quand je le change en Object ...Data.. ben flash délire dessus enfin
arrive plus a le gérer ^^ enfin j'vais voir ca tit a petit la..thx

...ca ce peu qu'il aye du code inutile a certain endroit j'vais cleaner ca..toute aide est le bienvenu pour le W3C
Bonne journée