View Single Post
  #1  
Old 23-01-2003, 00:49
ddd sss's Avatar
ddd sss ddd sss is offline
Membre
 
Join Date: 07-12-2002
Location: Lourdes
Age: 54
Posts: 49
Question menu dhtml et Netscape ????

Salut,
je tiens à remercié tout le monde pour les solutions apportés à mes problèmes. D'ailleur en parlant de problème voici celui qui se pose à moi aujourd'hui:
étant un webmaster "assembleur" autodidacte quelque peut novice j'ai ajouté à mes pages
Prîmal.65
un menu dhtml annocé compatible IE et NS.
et aujourd'hui que j'éssai NetScape je me renconte que ce n'est pas tout a fait cela.

est il compatible ?
ou est-ce une erreur de ma part ?

<layer visibility="hide" top="20" name="object1" bgcolor="black" left="0" onMouseOver="move(214)" onMouseOut="move(-214)">
<script language="JavaScript1.2">
function positionmenu(){
move(-214)
}
if (document.all) {document.write('<DIV ID="object1" style="visibility:hidden;cursor:hand; Position : Absolute ;Left : 0px ;Top : 10px ;Z-Index : 20" onmouseover="move(214)" onmouseout="move(-214)">')}
</script>
<table border="0" cellpadding="0" cellspacing="1" width="230" bgcolor="#3300FF">
<tr>
<td bgcolor="#0099FF"> <font size="1" face="Comic Sans MS"><b>
<script language="JavaScript">
<!--
js = new Array("Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi");
m = new Array("Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre");
aujourdhui = new Date();
jour = aujourdhui.getDate();
annee = aujourdhui.getYear();
if (annee < 2000)
annee = annee + 1900;
document.write(js[aujourdhui.getDay()] + " " + jour + " " + m[aujourdhui.getMonth()] + " " + annee);
// -->
</script>
<br>
<script language="JavaScript">
<!--

document.write("Dernière modification effectuer le : " + document.lastModified)
// -->
</script>
</b></font></td>
<script language="JavaScript1.2">
document.write('<td align="center" rowspan="214" width="16" bgcolor="#000000"><span style="font-size:14px"><p align="center"><font face="Comic Sans MS"><B>P<br>r<br>î<br>m<br>a<br>l<br> <BR>6<BR>5</B></font></p></span></TD>')
</script>
</tr>
<script language="JavaScript1.2"><!--
if (document.all||document.layers) {
makeStatic();}

var text=new Array();
var thelink=new Array();

// Configurer les éléments du menu.

text[0]="La nouvelle";
text[1]="Le roman";
text[2]="Chapitres et poèmes";
text[3]="Mes liens";
text[4]="Sénégal,Sénégal";
text[5]="Boite à outils";
text[6]="Page d'acceuil";

// Configurer les liens associés aux éléments du menu.
thelink[0]="primal.htm";
thelink[1]="roman.htm";
thelink[2]="courir.htm";
thelink[3]="liens.htm";
thelink[4]="photo.htm";
thelink[5]="boiteoutils.htm";
thelink[6]="index.htm";



// L'attribut target des liens (facultatif)
// Les valeurs acceptées sont '', 'new', or 'framename' (où 'framename' est le nom du frame de destination)
var linktarget=''

////////////////////////////////////////////////

function navigateie(which){
if (linktarget=='')
window.location=thelink[which]
else if (linktarget=='new')
window.open(thelink[which])
else{
temp_var=eval("window.parent."+linktarget)
temp_var.location=thelink[which]
}
}

for (i=0;i<=text.length-1;i++)
if (document.all) {document.write('<TR><TD height=20 bgcolor=white onclick="navigateie('+i+')" onmouseover="className=\'hl\'" onmouseout="className=\'n\'"><FONT SIZE=2 FACE=ARIAL>&nbsp;'+text[i]+'</FONT></TD></TR>')}
else {document.write('<TR><TD bgcolor="white"><ILAYER><LAYER HEIGHT="18" onmouseover="this.bgColor=\'yellow\'" onmouseout="this.bgColor=\'white\'" width=131><FONT SIZE=2 FACE=ARIAL>&nbsp;<A HREF="'+thelink[i]+'" target="'+linktarget+'">'+text[i]+'</A></FONT></LAYER></ILAYER></TD></TR>')}

//-->
</script>
<tr>
<td bgcolor="#0099FF><font size="1" face="Arial"> </td>
</tr>
</table>
<script language="JavaScript1.2">
if (document.all) {document.write('</DIV>')}
window.onload=positionmenu
</script>
</layer>
__________________
Un petit regard sur ma réalité dans notre fiction ...
Un grand merci et à bientot
Reply With Quote