Super ce menu à gauche, le mien ne fonctione pas sous NS 7

Posez toutes les questions concernant internet en général et son utilisation, les comptes Email, le chat, les opérateurs téléphoniques et fournisseurs d'accès, FTP etc...

Modérateur: Modérateurs

Super ce menu à gauche, le mien ne fonctione pas sous NS 7

Messagepar DS.65 » 23 Jan 2003 12:06

Salut à tous,
le sujet résume bien mon problème avec IExx et NS4 tout est OK mais pas avec NS 7.Surtout qu'aujourd'hui je découvre ce navigateur.:cry:
Sur un autre forum on ma expliqué qu'il fallait adapter le code.
Des détails ...siou plé !!! Des détails.
mon sitehttp://perso.wanadoo.fr/primal65
le code:( avant tout sachez que je suis un autodidacte quelque peut novice il y a 15 jour encore je ne conessai que le nom des codes d'une page WEB)

<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 grand merci et à bientot
DS.65
 
Messages: 1
Inscription: 23 Jan 2003 11:44
Localisation: Haute pyrénées

Je ne sais plus ou j'ai trouvé ce script

Messagepar krigou » 23 Jan 2003 17:07

Je ne sais plus ou j'ai trouvé ce script. Je ne l'ai pas testé sur Netscape 7, mais sur Mozilla qui est un peu le frère jumeau de Netscape et cela fonctionne !

Sinon essaye ce script

http://forum.2037.biz/viewtopic.php?t=8 ... light=menu
La libellule existait déjà, il y a 300 millions d'années
Image

https://500px.com/krigou
https://www.krigou.com
Avatar de l’utilisateur
krigou
Admin libellules.ch
Admin libellules.ch
 
Messages: 1781
Inscription: 16 Oct 2002 12:21
Localisation: Bienne, Suisse


Retourner vers Internet

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 5 invités