1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
<html>
<head>
<ilayer id="l1">
<layer id="l2">
<div id="l1">
<div id="l3" style="position:relative">
</div>
</div>
</layer>
</ilayer>
<title>Nouvelle page 1</title>
</head>
<body>
<script language="JavaScript">
var bannerArray = new Array();
var myCount=0;
// Banner Code Assignment
bannerArray[0] = "<A target=\"_blank\" HREF=\"http://www.aceinstall.com\" ><BR><IMG SRC=\"http://www.sangfrais.com/images/banners/melancolia.gif\" border=\"0\" width=\"468\" height=\"60\"></A>";
bannerArray[1] = "<A target=\"_blank\" HREF=\"http://www.nowonmai.com\"><IMG SRC=\"http://www.nowonmai.com/bannowon2.jpg\" border=\"0\" width=\"468\" height=\"60\"></A>";
bannerArray[2] = "<A target=\"_blank\" HREF=\"http://www.aceinstall.com\"><IMG SRC=\"http://www.aceinstall.com/banners/aniban-468x60.gif\" border=\"0\" width=\"468\" height=\"60\"></A>";
bannerRotate();
function bannerRotate() {
if(myCount > bannerArray.length-1){myCount=0;}
// Write out rotation
if (document.all){ // it is IE
document.all.l3.innerHTML=bannerArray[myCount];
}
else if (document.layers){ // it is NN
document.layers.l1.document.layers.l2.document.open();
document.layers.l1.document.layers.l2.document.write(bannerArray[myCount]);
document.layers.l1.document.layers.l2.document.close();
}
setTimeout("bannerRotate()", 3000);
myCount++;
}
</script>
</body>
</html> |