menu deroulant ouvert au chargement de la page

Réduire
X
 
  • Filtrer
  • Heure
  • Afficher
Tout effacer
nouveaux messages

  • menu deroulant ouvert au chargement de la page

    Bonjour,

    J ai un soucis avec firefox qui charge la page avec les sous menu ouvert, par contre avec ie aucun probleme.
    c est un code que j ai trouvé sur internet et je suis pas assez calé pour trouvé l erreur.
    merci d avance



    <script language="JavaScript"><!--
    function menu_show() {
    for (i=0;i<menu_show.arguments.length;i++) {
    document.getElementById(menu_show.arguments[i]).style.visibility='visible';}
    }
    function menu_hide() {
    for (i=0;i<menu_hide.arguments.length;i++) {
    document.getElementById(menu_hide.arguments[i]).style.visibility='hidden';}
    }
    function menu_msg(msg) {
    alert(msg);
    }
    --></script>
    <style type="text/css"><!--
    .class1 {position:absolute; left:108px; top300px; width:130px; cursor:hand; visibility:'visible';}
    .class2 {position:absolute; left:200px; top300px; width:180px; cursor:hand; visibility:'visible';}
    .class3 {position:absolute; left:300px; top300px; width:180px; cursor:hand; visibility:'visible';}
    .class4 {position:absolute; left:409px; top300px; width:100px; cursor:hand; visibility:'visible';}
    .class5 {position:absolute; left:501px; top300px; width:100px; cursor:hand; visibility:'visible';}
    .class6 {position:absolute; left:593px; top300px; width:180px; cursor:hand; visibility:'visible';}
    .class7 {position:absolute; left:693px; top300px; width:150px; cursor:hand; visibility:'visible';}
    .menu {font-family:'comic-sans-ms' ; font-style:italic ; font-size:15px; font-weight:normal; background-color:transparent; bordercolor:white; color:white;}
    .submenu {background-color:"transparent"; font-family:'comic-sans-ms'; font-style:italic; font-size:14px; font-weight:normal; color:black; visibility:'hidden';}
    A {text-decoration:none; color:white;}
    A:hover {background-color:black; color:white;}
    --></style></head>
    <body>
    <div id='div1' class='class1' onmouseover='menu_show("f1","f2","f3","f4")' onmouseout='menu_hide("f1","f2","f3","f4")'>
    <table ><tr><td class='menu'>&nbsp;Accueil</td></tr>
    <tr><td id='f1' class='submenu'><a href="historique.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Historique&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='f2' class='submenu'><a href="orientations.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Orientations&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='f3' class='submenu'><a href="actualités.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Actualités&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='f4' class='submenu'><a href="nos partenaires.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Nos partenaires&nbsp;&nbsp;&nbsp;</a></td></tr></table>
    </div>
    <div id='div2' class='class2' onmouseover='menu_show("s1")' onmouseout='menu_hide("s1")'>
    <table ><tr><td class='menu'>&nbsp;Etalons&nbsp;&nbsp;&nbsp;</td></tr>
    <tr><td id='s1' class='submenu'><a href="temple.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Tree's Temple Le Sage&nbsp;&nbsp;&nbsp;</a></td></tr></table>
    </div>
    <div id='div3' class='class3' onmouseover='menu_show("t1","t2","t3","t4")' onmouseout='menu_hide("t1","t2","t3","t4")'>
    <table ><tr><td class='menu'>&nbsp;Poulinières</td></tr>
    <tr><td id='t1' class='submenu'><a href="quaomée.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Quaomée La Sage&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='t2' class='submenu'><a href="tulipe.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Tulipe du Bocage&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='t3' class='submenu'><a href="cockleshell.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Plovers Cockleshell&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='t4' class='submenu'><a href="origine.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Origine Une de L'Hocre&nbsp;&nbsp;&nbsp;</a></td></tr></table>
    </div>
    <div id='div4' class='class4' onmouseover='menu_show("b1","b2","b3","b4","b5")' onmouseout='menu_hide("b1","b2","b3","b4","b5")'>
    <table ><tr><td class='menu'>&nbsp;Production</td></tr>
    <tr><td id='b1' class='submenu'><a href="2009.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;2009&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='b2' class='submenu'><a href="2010.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;2010&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='b3' class='submenu'><a href="2011.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;2011&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='b4' class='submenu'><a href="2012.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;2012&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='b5' class='submenu'><a href="2013.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;2013&nbsp;&nbsp;&nbsp;</a></td></tr></table>
    </div>
    <div id='div5' class='class5' onmouseover='menu_show("d1","d2","d3")' onmouseout='menu_hide("d1","d2","d3")'>
    <table ><tr><td class='menu'>&nbsp;A la vente</td></tr>
    <tr><td id='d1' class='submenu'><a href="index.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;.......&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='d2' class='submenu'><a href="index.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;.......&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='d3' class='submenu'><a href="index.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;.......&nbsp;&nbsp;&nbsp;</a></td></tr></table>
    </div>
    <div id='div6' class='class6' onmouseover='menu_show("h1","h2","h3","h4","h5")' onmouseout='menu_hide("h1","h2","h3","h4","h5")'>
    <table ><tr><td class='menu'>&nbsp;Album d'Or</td></tr>
    <tr><td id='h1' class='submenu'><a href="sagesse.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Sagesse des Retz&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='h2' class='submenu'> <a href="victoria.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Victoria Joiaker&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='h3' class='submenu'> <a href="la luna.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;La Luna&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='h4' class='submenu'> <a href="magic.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Magic d'Aurélie&nbsp;&nbsp;&nbsp;</a></td></tr>
    <tr><td id='h5' class='submenu'> <a href="autres.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;et les autres...&nbsp;&nbsp;&nbsp;</a></td></tr></table>
    </div>
    <div id='div7' class='class7' onmouseover='menu_show("k1")' onmouseout='menu_hide("k1")'>
    <table ><tr><td class='menu'>&nbsp;Pour nous joindre&nbsp;&nbsp;&nbsp;</td></tr>
    <tr><td id='k1' class='submenu'><a href="contact.html"()'>&nbsp;<img src='point.gif' border=0>&nbsp;Contact&nbsp;&nbsp;&nbsp;</a></td></tr></table>
    </div>

  • #2
    Re : menu deroulant ouvert au chargement de la page

    Bonjour,

    Et bienvenue sur le forum.

    Je crains fort que ce type de code trouvé on se sait où sur le net n'ait strictement rien à voir avec les systèmes de menu Joomla! Soit il te faut l'adapter sous forme de module, soit plus simplement utiliser les menus natifs de Joomla! ou un des multiples modules de type megamenu http://extensions.joomla.org/extensi...op-a-tab-menus
    Pas de demande de support par MP.
    S'il n'y a pas de solution, c'est qu'il n'y a pas de problème (Devise Shadok)

    Commentaire

    Annonce

    Réduire
    Aucune annonce pour le moment.

    Partenaire de l'association

    Réduire

    Hébergeur Web PlanetHoster
    Travaille ...
    X