begin process at 2012 05 29 15:06:18
  Trouver un code source :
 
dans
 
Accueil > Forum > 

Javascript / DHTML / Ajax

 > 

JavaScript et le navigateur

 > 

Problème de compatibilité

 > 

Pb firefox pour cacher des div


Derniers messages déposésPoser une question dans le forum ou lancer une discussion

Pb firefox pour cacher des div

vendredi 3 novembre 2006 à 12:00:02 | Pb firefox pour cacher des div

fdthierry

Bonjour,

J'ai un menu qui se créé à partir d'une table.
Le principe est le suivant:
Année
   Mois
      Jour
Au chargement sous IE, je ne vois que les années.
Lorsque que je clique sur l'année puis le mois pour afficher le jour.
Lorsque je clique sur une autre année, toute autre année que celle ci se masque.

Sous Firefox, tout est affiché !
Voici mon code pour IE:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language=JScript>
function showDivAn(divId)
{
hideAllDivAn();
  document.getElementById(divId).style.visibility="visible";
  document.getElementById(divId).style.display="inline";
  }
function hideDivAn(divId)
{
  document.getElementById(divId).style.visibility="hidden";
  document.getElementById(divId).style.display="none";
    }
 
function hideAllDivAn()
  {
 for (i=0; i<document.getElementsByTagName("div").length; i++)
    hideDivAn(document.getElementsByTagName("div")[i].id);
 }
function showDivMois(divId)
{
hideAllDivMois();
  document.getElementById(divId).style.visibility="visible";
  document.getElementById(divId).style.display="inline";
  }
function hideDivMois(divId)
{
  if (divId.slice(0, 2)=="Mo")
  {
  document.getElementById(divId).style.visibility="hidden";
  document.getElementById(divId).style.display="none";
  }
  }
function hideAllDivMois()
  {
 for (i=0; i<document.getElementsByTagName("div").length; i++)
    hideDivMois(document.getElementsByTagName("div")[i].id)
 }
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
                  <table style="border-top-width:1px; border-right-width:1px; border-bottom-width:0px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:none; border-left-style:solid;" cellpadding="5" cellspacing="0" bgcolor="#CCCCFF" bordercolordark="white" bordercolorlight="black" width="143">
                <tr>
          <td>
            <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:5;">
              <a class=lea_lien_an href="#" onClick="javascript: showDivAn('An2002')" onMouseOver="javascript: self.status='2002';return(true);" onMouseOut="javascript: self.status=' ';">
              2002              </a></p>
            <div id='An2002' style="">
                           
        <table style="line-height:100%; margin-top:0; margin-bottom:0; border-top-width:1px; border-right-width:1px; border-bottom-width:0px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:none; border-left-style:solid;" cellpadding="5" cellspacing="0" bgcolor="#FFCCFF" width="130" align="right">
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0211')" onMouseOver="javascript: self.status='Novembre 2002';return(true);" onMouseOut="javascript: self.status=' ';">
                Novembre </a></p>
              <div id='Mo0211' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=021105&idTitre=Mon premier mois&idDate=05;Novembre;2002" target="frmConsult" onMouseOver="javascript: self.status='05 Novembre 2002 - Mon 1er mois';return(true);" onMouseOut="javascript: self.status=' ';">
                        Mon 1er mois </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0212')" onMouseOver="javascript: self.status='Décembre 2002';return(true);" onMouseOut="javascript: self.status=' ';">
                Décembre </a></p>
              <div id='Mo0212' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=021201&idTitre=Mon aire de jeu&idDate=01;Décembre;2002" target="frmConsult" onMouseOver="javascript: self.status='01 Décembre 2002 - Mon aire de jeu';return(true);" onMouseOut="javascript: self.status=' ';">
                        Mon aire de jeu </a></p>
                    </td>
                  </tr>
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=021215&idTitre=Mon parain joue la Nounou&idDate=15;Décembre;2002" target="frmConsult" onMouseOver="javascript: self.status='15 Décembre 2002 - Ma Nounou';return(true);" onMouseOut="javascript: self.status=' ';">
                        Ma Nounou </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
        </table>
            </div>
          </td>
        </tr>
                <tr>
          <td>
            <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:5;">
              <a class=lea_lien_an href="#" onClick="javascript: showDivAn('An2003')" onMouseOver="javascript: self.status='2003';return(true);" onMouseOut="javascript: self.status=' ';">
              2003              </a></p>
            <div id='An2003' style="">
                           
        <table style="line-height:100%; margin-top:0; margin-bottom:0; border-top-width:1px; border-right-width:1px; border-bottom-width:0px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:none; border-left-style:solid;" cellpadding="5" cellspacing="0" bgcolor="#FFCCFF" width="130" align="right">
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0307')" onMouseOver="javascript: self.status='Juillet 2003';return(true);" onMouseOut="javascript: self.status=' ';">
                Juillet </a></p>
              <div id='Mo0307' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=030708&idTitre=Eclats de rire&idDate=08;Juillet;2003" target="frmConsult" onMouseOver="javascript: self.status='08 Juillet 2003 - Eclats de rire';return(true);" onMouseOut="javascript: self.status=' ';">
                        Eclats de rire </a></p>
                    </td>
                  </tr>
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=030716&idTitre=Mille et une expressions&idDate=16;Juillet;2003" target="frmConsult" onMouseOver="javascript: self.status='16 Juillet 2003 - 1001 expressions';return(true);" onMouseOut="javascript: self.status=' ';">
                        1001 expressions </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0312')" onMouseOver="javascript: self.status='Décembre 2003';return(true);" onMouseOut="javascript: self.status=' ';">
                Décembre </a></p>
              <div id='Mo0312' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=031210&idTitre=Week-end en Bretagne&idDate=10;Décembre;2003" target="frmConsult" onMouseOver="javascript: self.status='10 Décembre 2003 - WE Breton';return(true);" onMouseOut="javascript: self.status=' ';">
                        WE Breton </a></p>
                    </td>
                  </tr>
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=031225&idTitre=Vive Noël&idDate=25;Décembre;2003" target="frmConsult" onMouseOver="javascript: self.status='25 Décembre 2003 - Vive Noël';return(true);" onMouseOut="javascript: self.status=' ';">
                        Vive Noël </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
        </table>
            </div>
          </td>
        </tr>
                <tr>
          <td>
            <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:5;">
              <a class=lea_lien_an href="#" onClick="javascript: showDivAn('An2004')" onMouseOver="javascript: self.status='2004';return(true);" onMouseOut="javascript: self.status=' ';">
              2004              </a></p>
            <div id='An2004' style=""> 
                           
        <table style="line-height:100%; margin-top:0; margin-bottom:0; border-top-width:1px; border-right-width:1px; border-bottom-width:0px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:none; border-left-style:solid;" cellpadding="5" cellspacing="0" bgcolor="#FFCCFF" width="130" align="right">
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0404')" onMouseOver="javascript: self.status='Avril 2004';return(true);" onMouseOut="javascript: self.status=' ';">
                Avril </a></p>
              <div id='Mo0404' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=040403&idTitre=Vive les Mariés&idDate=03;Avril;2004" target="frmConsult" onMouseOver="javascript: self.status='03 Avril 2004 - Vive les Mariés';return(true);" onMouseOut="javascript: self.status=' ';">
                        Vive les Mariés </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0406')" onMouseOver="javascript: self.status='Juin 2004';return(true);" onMouseOut="javascript: self.status=' ';">
                Juin </a></p>
              <div id='Mo0406' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=040606&idTitre=Excursion en Bretagne&idDate=06;Juin;2004" target="frmConsult" onMouseOver="javascript: self.status='06 Juin 2004 - Ballade Bretonne';return(true);" onMouseOut="javascript: self.status=' ';">
                        Ballade Bretonne </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
        </table>
            </div>
          </td>
        </tr>
                <tr>
          <td>
            <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:5;">
              <a class=lea_lien_an href="#" onClick="javascript: showDivAn('An2005')" onMouseOver="javascript: self.status='2005';return(true);" onMouseOut="javascript: self.status=' ';">
              2005              </a></p>
            <div id='An2005' style=""> 
                           
        <table style="line-height:100%; margin-top:0; margin-bottom:0; border-top-width:1px; border-right-width:1px; border-bottom-width:0px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:none; border-left-style:solid;" cellpadding="5" cellspacing="0" bgcolor="#FFCCFF" width="130" align="right">
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0501')" onMouseOver="javascript: self.status='Janvier 2005';return(true);" onMouseOut="javascript: self.status=' ';">
                Janvier </a></p>
              <div id='Mo0501' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=050110&idTitre=Ballade dans le petit chemin&idDate=10;Janvier;2005" target="frmConsult" onMouseOver="javascript: self.status='10 Janvier 2005 - Tite ballade';return(true);" onMouseOut="javascript: self.status=' ';">
                        Tite ballade </a></p>
                    </td>
                  </tr>
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=050125&idTitre=Chouette il a neigé&idDate=25;Janvier;2005" target="frmConsult" onMouseOver="javascript: self.status='25 Janvier 2005 - Il a neigé';return(true);" onMouseOut="javascript: self.status=' ';">
                        Il a neigé </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0509')" onMouseOver="javascript: self.status='Septembre 2005';return(true);" onMouseOut="javascript: self.status=' ';">
                Septembre </a></p>
              <div id='Mo0509' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=050915&idTitre=A la maison&idDate=15;Septembre;2005" target="frmConsult" onMouseOver="javascript: self.status='15 Septembre 2005 - A la maison';return(true);" onMouseOut="javascript: self.status=' ';">
                        A la maison </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0512')" onMouseOver="javascript: self.status='Décembre 2005';return(true);" onMouseOut="javascript: self.status=' ';">
                Décembre </a></p>
              <div id='Mo0512' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=051226&idTitre=Joyeux Noël&idDate=26;Décembre;2005" target="frmConsult" onMouseOver="javascript: self.status='26 Décembre 2005 - Noël';return(true);" onMouseOut="javascript: self.status=' ';">
                        Noël </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
        </table>
            </div>
          </td>
        </tr>
                <tr>
          <td>
            <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:5;">
              <a class=lea_lien_an href="#" onClick="javascript: showDivAn('An2006')" onMouseOver="javascript: self.status='2006';return(true);" onMouseOut="javascript: self.status=' ';">
              2006              </a></p>
            <div id='An2006' style="">
                           
        <table style="line-height:100%; margin-top:0; margin-bottom:0; border-top-width:1px; border-right-width:1px; border-bottom-width:0px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:none; border-left-style:solid;" cellpadding="5" cellspacing="0" bgcolor="#FFCCFF" width="130" align="right">
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0604')" onMouseOver="javascript: self.status='Avril 2006';return(true);" onMouseOut="javascript: self.status=' ';">
                Avril </a></p>
              <div id='Mo0604' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=060430&idTitre=Une virée en mer&idDate=30;Avril;2006" target="frmConsult" onMouseOver="javascript: self.status='30 Avril 2006 - Virée en mer';return(true);" onMouseOut="javascript: self.status=' ';">
                        Virée en mer </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0606')" onMouseOver="javascript: self.status='Juin 2006';return(true);" onMouseOut="javascript: self.status=' ';">
                Juin </a></p>
              <div id='Mo0606' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=060610&idTitre=Une virée à Viré en Champagne&idDate=10;Juin;2006" target="frmConsult" onMouseOver="javascript: self.status='10 Juin 2006 - Virée à Viré';return(true);" onMouseOut="javascript: self.status=' ';">
                        Virée à Viré </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
              <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                <a class=lea_lien_mois href="#" onClick="javascript: showDivMois('Mo0607')" onMouseOver="javascript: self.status='Juillet 2006';return(true);" onMouseOut="javascript: self.status=' ';">
                Juillet </a></p>
              <div id='Mo0607' style="">
                <table style="line-height:100%; margin-top:1; margin-bottom:1; border-top-width:1px; border-right-width:1px; border-bottom-width:1px; border-left-width:1px; border-color:rgb(153,153,153); border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid;" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" width="110" align="right">
                  <tr>
                    <td style="border-bottom-width:1px; border-bottom-color:rgb(153,153,153); border-bottom-style:solid;">
                      <p style="line-height:100%; margin-top:0; margin-bottom:0; margin-left:10;">
                        <a class=lea_lien_page href="consult.php?idPage=060709&idTitre=Papa saute à l'élastique&idDate=09;Juillet;2006" target="frmConsult" onMouseOver="javascript: self.status='09 Juillet 2006 - Souloeuvres';return(true);" onMouseOut="javascript: self.status=' ';">
                        Souloeuvres </a></p>
                    </td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
        </table>
            </div>
          </td>
        </tr>
              </table>
</body>
</html>


Une idée ?
Amicalement,
Thierry
vendredi 3 novembre 2006 à 12:23:46 | Re : Pb firefox pour cacher des div

bultez

Membre Club




Bonjour,

   totalement inexploitable pour nous
      °°°° tout est sur une seule ligne !
             utiliser un éditeur de texte pour copier/coller
      °°°° beaucoup trop long : ça décourage
             faire un extrait du nécessaire, pas plus

   >>Au chargement sous IE, je ne vois que les années.
      pas moi... enfin, avec IE7
   
      mais déjà en mettant : <script type="text/JavaScript">
      j'ai le même comportement avec IE et avec FF

      faudra voir pour le reste...


Cordialement Bul [
mon Site ] [ M'écrire ]
vendredi 3 novembre 2006 à 13:21:11 | Re : Pb firefox pour cacher des div

fdthierry

Ok j'ai trouvé le pb,
le language n'est pas jscript mais javascrip,

Dsl.
Merci tout de même
vendredi 3 novembre 2006 à 13:44:18 | Re : Pb firefox pour cacher des div

PetoleTeam

Membre Club
B onjour...
<HUMOUR> Mais de quoi se plaint notre Bultez pour une fois qu'il y a du code...</HUMOUR>
;0)
vendredi 3 novembre 2006 à 13:46:04 | Re : Pb firefox pour cacher des div

bultez

Membre Club
Ben... Etonne.gif je me cite ?
 ...déjà en mettant : <script type="text/JavaScript">
      j'ai le même comportement avec IE et avec FF...

                        Cordialement             Bul       [mon Site]    [M'écrire]
vendredi 3 novembre 2006 à 13:52:17 | Re : Pb firefox pour cacher des div

bultez

Membre Club




Bonjour,

   tu as raison PetoleTeam....
   en général, dans un 1er temps, la question c'est : "ça marche pas"
      sans code, sans adresse...
      "on" réclame donc un bout de code, une url...
      et là, généralement , on nous met 36895 lignes... en php...
   

                        Cordialement             Bul       [mon Site]    [M'écrire]
généralement, c'est absurde de généraliser.
vendredi 3 novembre 2006 à 14:03:00 | Re : Pb firefox pour cacher des div

PetoleTeam

Membre Club

Juste pour les Stats 21201 caractères entre les balises <HTML> </HTML> comprises...
Il faut avoir l'oeil et le bon...
Encore bravo...


lorsque l'évident est essentiel il n'est pas évident d'avoir l'essentiel...



Cette discussion est classée dans : function, style, document, getelementbyid, divid


Répondre à ce message

Sujets en rapport avec ce message

iframe dans nelle fenetre _blank [ par tonytruand ] BonjourEst ce quelqu'un pourrait me donner un petit coup de main, merci par avancej'aimerai ouvrir le contenu d'un iframe dans une nouvelle page et je BOUCLE FOR [ par tonytruand ] BONSOIR,Je me prends la tête avec une boucle for imbriquée que je n'arrive pas à faire, un ptit coup de main svp.Bon là je peux créer un twisty en cli Marche pas sous IE [ par taxidogkiller ] Bonjour, j'ai télécharger un script de galerie d'image et en voulant le bidouiller je suis tomber sur des fonction javascript qui ne marche que sous m pb de refresh de menu [ par tianet ] Bonsoir, Je voudrais faire un menu qui une fois qu'une option est sélectionnée une nouvelle page s'ouvre et que le menu reste selectionné à la bonne o probleme avec une fonction javascript + css [ par edelendil ] Voila, je dois créer un menu déroulant composé de deux tableaux le premier contient le titre de la rubrique et reste toujours visible le deuxieme con Parade au style.width sous FireFox ? [ par Shibo_Sources ] Bonjour, je découvre à peine toutes les possibilités qu'offre le javascript ce qui explique mon niveau (je ne me suis pas trompé de section au moins : document.getElementById() .div [ par abdoulax ] Bonjour, Je voulais faire un truc du genre : document.getElementById(id).div.style.paddingTop="0px"; En faite je veux modifier le style des div enfa Ptite question sur une function js [ par destiny ] Bonjour tlm :)Voila j'ai fais une ptite function js qui me modifie la VALUE de mon input suivant la valuer d'un checkbox!function MajTexteValider() {  block/none de div [ par kishkaya ] voila j'ai des contenu et j'essaye de creer une fonction pour cacher ou afficher ces div en m'inspirant d'une fonction trouver sur ce site . Moi j'ai objet qui suit le souris [ par CCJ ] bonjour g trouver ce code ici : var x = 0; var y = 0; posX = 0; posY = 0; if (document.getElementById)    {    if(navigator.appName.substring(0,3).


Nos sponsors


Sondage...

CalendriCode

Mai 2012
LMMJVSD
 123456
78910111213
14151617181920
21222324252627
28293031   

Consulter la suite du CalendriCode

A découvrir



 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 1,357 sec (3)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales