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
| <SCRIPT Language="Javascript1.2">
var menuwidth=650
var offsetleft=185
var offsettop=0
var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0
if (ns4)
{
window.open("NonNS.php", "NonNetscape", "width=750,height=10");
window.close ();
}
function makeStatic() {
if (ie4) {object1.style.pixelTop=document.body.scrollTop+offsettop}
else if (ns6) {document.getElementById("object1").style.top=window.pageYOffset+offsettop}
else if (ns4) {eval(document.object1.top=eval(window.pageYOffset+offsettop));}
setTimeout("makeStatic()",0);
}
if (ie4||ns6) {document.write('<span ALIGN="CENTER" ID="object1" STYLE="Position:absolute; Top:20; Left:'+offsetleft+'; Z-Index:5;cursor:hand;"><TABLE BORDER="0" width="'+menuwidth+'" CELLPADDING="0" CELLSPACING="0" BORDERCOLOR="black">')}
else if (ns4){ document.write('<LAYER top="20" name="object1" left="'+offsetleft+'" <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1"><TR><TD><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">')}
if (ie4||ns6||ns4)
document.write('<?php echo $liens;?>')
if (ie4||ns6) {document.write('</TABLE></span>')}
else if (ns4){document.write('</TABLE></TD></TR></TABLE></LAYER>')}
function menu3(){
if (ns6||ie4||ns4)
makeStatic()
}
window.onload=menu3()
</SCRIPT> |
Partager