Salut,
je sais mon code n'est pas du VB, il mèle HTML et JavaScript, mais je ne sais plus à qui m'adresser, alors quelqu'un saura t il peut etre m aider.
mon objectif avec ce code est de faire apparaitre le menu correspondant quand la souris passe sur un titre. Quand j'ouvre ce code avec un navigateur il me dit qu'il y a une erreur dans la page, et les menus s'enchainent avec les titres!!!
HELP !!!! ^_^
Voila le code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<SCRIPT language="JavaScript" type="text/JavaScript">
function affich(id) {
if (id) {
eval ("obj = (document.layers)?document.menu"+id+":(document.all)?document.all.menu"+id;");
obj.visibility='visible';}}
function kill() {
if (obj) obj.visibility="hidden"
}
</SCRIPT>
<META content="MSHTML 5.50.4134.100" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=3 cellPadding=1 width="100%">
<TBODY>
<TR>
<TD class=barre_gauche width="100%"><A class=element_barre_gauche
onmouseover=affich_s_m(Aides); onmouseout=kill();
href="file:///C:/Mes%20documents/barre_de_gauche/01_aides">Aides</A>
</TD></TR>
<DIV id=menuAides></DIV></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD><A
href="http://localhost:8080/maquette_test/barre_de_gauche/01_aides/01_semaphore">Sémaphore</A>
</TD></TD></TR></TBODY></TABLE>
<DIV></DIV><TR><TD class=barre_gauche width="100%"><A class=element_barre_gauche
onmouseover=affich_s_m(Certificats); onmouseout=kill();
href="file:///C:/Mes%20documents/barre_de_gauche/02_certificats">Certificats</A>
</TD></TR>
<DIV id=menuCertificats>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD><A
href="http://localhost:8080/maquette_test/barre_de_gauche/02_certificats/01_chambersign">ChamberSign</A>
</TD></TD></TR></TBODY></TABLE></DIV><TR><TD class=barre_gauche width="100%"><A
class=element_barre_gauche onmouseover=affich_s_m(Equipement);
onmouseout=kill();
href="file:///C:/Mes%20documents/barre_de_gauche/03_equipement">Equipement</A>
</TD></TR>
<DIV id=menuEquipement>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD><A
href="http://localhost:8080/maquette_test/barre_de_gauche/03_equipement/01_aeroports">Aéroports</A>
</TD></TD>
<TR>
<TD><A
href="http://localhost:8080/maquette_test/barre_de_gauche/03_equipement/02_ports">Ports</A>
</TD></TD></TR></TBODY></TABLE></DIV><TR><TD class=barre_gauche width="100%"><A
class=element_barre_gauche onmouseover=affich_s_m(Fichiers); onmouseout=kill();
href="file:///C:/Mes%20documents/barre_de_gauche/04_fichiers">Fichiers</A>
</TD></TR>
<DIV id=menuFichiers>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD><A
href="http://localhost:8080/maquette_test/barre_de_gauche/04_fichiers/01_firmnet">Firmnet</A>
</TD></TD></TR></TBODY></TABLE></DIV><TR><TD class=barre_gauche width="100%"><A
class=element_barre_gauche
href="file:///C:/Mes%20documents/barre_de_gauche/05_foires_salons">Foires et
salons</A> </TD></TR>
<DIV id=menuFoires salons et>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY></TBODY></TABLE></DIV><TR><TD class=barre_gauche width="100%"><A
class=element_barre_gauche onmouseover=affich_s_m(Formalités);
onmouseout=kill();
href="file:///C:/Mes%20documents/barre_de_gauche/06_formalites">Formalités</A>
</TD></TR>
<DIV id=menuFormalités>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD><A
href="http://localhost:8080/maquette_test/barre_de_gauche/06_formalites/01_cfenet">CFEnet</A>
</TD></TD></TR></TBODY></TABLE></DIV><TR><TD class=barre_gauche width="100%"><A
class=element_barre_gauche onmouseover=affich_s_m(Informations);
onmouseout=kill();
href="file:///C:/Mes%20documents/barre_de_gauche/07_info_eco">Informations</A>
</TD></TR>
<DIV id=menuInformations>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD><A
href="http://localhost:8080/maquette_test/barre_de_gauche/07_info_eco/01_delphes">DELPHES</A>
</TD></TD></TR></TBODY></TABLE></DIV><TR><TD class=barre_gauche width="100%"><A
class=element_barre_gauche onmouseover=affich_s_m(Sous-traitance);
onmouseout=kill();
href="file:///C:/Mes%20documents/barre_de_gauche/08_sous_traitance">Sous-traitance</A>
</TD></TR>
<DIV id=menuSous-traitance>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD><A
href="http://localhost:8080/maquette_test/barre_de_gauche/08_sous_traitance/01_cotretel">COTRETEL</A>
</TD></TD></TR></TBODY></TABLE></DIV><TR><TD class=barre_gauche width="100%"><A
class=element_barre_gauche onmouseover=affich_s_m(Transmission);
onmouseout=kill();
href="file:///C:/Mes%20documents/barre_de_gauche/09_transmission">Transmission</A>
</TD></TR>
<DIV id=menuTransmission>
<TABLE cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR>
<TD><A
href="http://localhost:8080/maquette_test/barre_de_gauche/09_transmission/01_transcommerce">TransCommerce</A>
</TD></TD></TR></TBODY></TABLE></DIV></TABLE></BODY></HTML>