







|
|
|
 |
| > Menu dynamique vertical spécial frames |
[ Posté par Jackman75 ] [ Détails ] [ Contact ] [ Citer ]
[ Posté le 26-02-2004 à 09:58 | 9 messages ]
  Bonjour,
J'utilise le script "Menu dynamique vertical spécial frames" sur mon site et j'aimerais que lorsque la souris sort du menu, il reprenne son apparence initiale, c'est à dire menus fermés.
Le code :
function mv2_menu_draw()
{
mv2_aff = "<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=1 WIDTH=119><TR><TD><TABLE BORDER=0 CELLPADDING=03 CELLSPACING=1 BGCOLOR=#E35339 WIDTH=100%>";
for(a=0;a<mv2_menu.length;a++)
{
if(mv2_pos == a || !document.getElementById)
bgcolor = "#CC3300";
else
bgcolor = "#E35339";
if(document.getElementById)
mv2_aff += "<TR><TD BGCOLOR="+bgcolor+" ALIGN=\"center\"><A HREF=\"#\" onClick=\"mv2_pos="+a+";mv2_menu_draw()\" CLASS=mv2style><FONT FACE=\"Verdana\" SIZE=1>"+mv2_menu[a]+"</FONT></A></TD></TR>";
else
mv2_aff += "<TR><TD BGCOLOR="+bgcolor+" ALIGN=\"center\"><FONT FACE=\"Verdana\" SIZE=1>"+mv2_menu[a]+"</FONT></TD></TR>"
if(mv2_pos == a || !document.getElementById)
mv2_aff += "<TR><TD BGCOLOR="+bgcolor+" ALIGN=\"center\"><FONT FACE=\"Verdana\" SIZE=1>"+mv2_lien[a]+"</FONT></TD></TR>";
}
mv2_aff += "</TABLE></TD></TR></TABLE>";
if(document.getElementById)
document.getElementById("mv2").innerHTML = mv2_aff;
else
document.write(mv2_aff);
}
mv2_menu_draw();
 
|
|
Services email :
  Vous devez vous identifier pour profiter des services par email du forum.
|

|