slt ,
j realiser une baniere gif qui suit le scroll en utilisant ce code :
<SCRIPT LANGUAGE="JavaScript">
function OuvrirFenetre(url,nom,details) { window.open(url,nom,details)}
ejs_logo_url = "images/pub/ann.gif";
ejs_logo_redir = ""; <!-- mettre l'URL du fournisseur-->
unami="javascript:OuvrirFenetre('ami.html','popup','width=496,height=446');";
if (document.getElementById)
{
var staticlogo=new Image;
staticlogo.src=ejs_logo_url;
document.write('<div id="ejs_logo" style="z-index:200;position:absolute;width:'+staticlogo.width+';height:'+staticlogo.height+'" align="center"><div><a href="'+ejs_logo_redir+'" target=_blank><img src="'+staticlogo.src+'" border=0 /></a></div><div class="lien"><br><a href='+unami+'><IMG SRC="images/laffar_33.gif"></a></div></div>')
ejs_scx = document.body.clientWidth;
ejs_scy = document.body.clientHeight;
document.getElementById("ejs_logo").style.top=(ejs_scy-staticlogo.height-30);
document.getElementById("ejs_logo").style.left=(60);
}
function logoit()
{
if (document.getElementById)
{
w2=document.body.scrollTop;
document.getElementById("ejs_logo").style.top=(w2+ejs_scy-staticlogo.height-100);
setTimeout("logoit()",1);
}
}
window.onload=logoit
</SCRIPT>
mnt je veux changer cette baniere gif avec une autre en flash.
merci