Bonjour
Qulqu'un pourrais me traduire ce code
	
	| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 
 |  
function TabClick( nTab ){
   /*Col = document.getElementsByName("Content");*/
    for (i = 0; i < document.getElementsByName("Content").length; i++)
   	{
        document.getElementsByName("tabs")[i].className = "TabCommon TabOff";
   	    document.getElementsByName("Content")[i].style.display = "none";
      }
  document.getElementsByName("Content")[nTab].style.display = "block";    
  document.getElementsByName("tabs")[nTab].className = "TabCommon TabOn";
} | 
 J'aimerai le modifier de sorte à ce que les valise       <DIV ID="Content" NAME="Content" > soient invisibles (comme inexistantes)
Je pense qu'il faut modifier le
	
	 document.getElementsByName("Content")[i].style.display = "none";
 
	
	| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 
 |  
      <DIV ID="Content" NAME="Content" >
        <!--<p> -->
        <table border="0" cellpadding="0" cellspacing="0" class="TableActiveContent">
          <tr>
                  <td></td>
            </tr>
        </table>
        <!-- </p> -->
      </DIV>
      <DIV ID="Content" NAME="Content">
        <!-- <table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top"> --><?php include("erd_fr.php"); ?><!-- </td>
          </tr>
        </table>-->
      </DIV>
      <DIV ID="Content" NAME="Content">
	<?php
        include("erd_en.php");
        ?>
      </DIV> | 
 Merci beaucoup
						
					
Partager