bonjour,
j'ai un problème avec ma page html.
en fait j'ai un div avec une image
par dessus j'ai un autre div ou j'ai une vidéo Youtube (même problème avec gif animés)
en fait j'ai la conso processeur qui grimpe énormément même sans lire.
ca le fait beaucoup avec internet explorer et pratiquement pas sous firefox.
mais c'est sous IE que je veux que ca marche car mon prog utilise IE
voici ma page
pour tester il faut une image aa.jpg au même endroit que la page (mon image 1024X768)
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<body onload = loadpage()>
<title>Nouvelle page 1</title>
<style type="text/css">
body
{
overflow:"hidden"
}
h4
{
position:absolute;
overflow:'auto';
top:0px;
bottom:0px;
left:0px;
right:0px;
width:100%;
height:100%;
margin-bottom:0px;
font-family:Tahoma;
font-size: 13px;
font-style: normal;
font-weight: normal;
link-decoration: none;
}
h2
{
position:relative;
top:0px;
bottom:0px;
left:0px;
right:0px;
width:100%;
height:100%;
margin-bottom:0px;
}
</style>
<script language="JavaScript">
function loadpage() {
document.getElementById('divfond').innerHTML = '<img border="0" src="aa.jpg" width="100%" height="100%">';
}
function addHTML(element, HTML) {
var o = document.createElement("htmlSection");
o.innerHTML = HTML;
element.appendChild(o);
}
</script>
</head>
<body topmargin="0" leftmargin="0" bgproperties="fixed" scrolling="no" >
<h2 id = "divfond" ></h2>
<h4 id = "divchat">
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/uIBjFh1r0RQ&rel=1"></param><param name="wmode" value="transparent"></param><embed src="
[ Lien ]" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
</h4>
</body>
</html>
merci pour votre aide
Tous mes addons sur
[ Lien ]