HVmenu c'est un menu configurable,
J'ai jamais fait de javascript alors je comprend pas grand chose au code. j'ai trouvé une fonction Goto qui cree le lien apparement
function GoTo()
{
if(this.LinkTxt)
{
status='';
var HP=Nav4?this.LowLyr:this;
LowItem(HP);
this.LinkTxt.indexOf('javascript:')!=-1?eval (this.LinkTxt):DcLoc.location.href=this.LinkTxt
}
}
le menu est ecrit de cette facon dans un fichier a part avec toute les variables relatives a la mise en forme du menu.
// Menu tree
// MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
// For rollover images set "Text to show" to: "rollover:Image1.jpg:Image2.jpg"
Menu1=new Array("Domaine","","",3,20,150);
Menu1_1=new Array("Bois","","",0,20,150);
Menu1_2=new Array("Informatique","","",0);
Menu1_3=new Array("Logistique","","",0);
Menu2=new Array("Formation diplomante","","",4);
Menu2_1=new Array("BAC","","",0,20,150);
Menu2_2=new Array("BEP","","",0);
Menu2_3=new Array("CAP","","",0);
Menu2_4=new Array("BTS","","",0);
Menu3=new Array("Public","","",2);
Menu3_1=new Array("Demandeur d'emploi","","",0,20,150);
Menu3_2=new Array("Salarié","","",0);