1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
| <HTML>
<BODY>
<script language="javascript">
function Toggle(node)
{
// Unfold the branch if it isn't visible
if (node.nextSibling.style.display == 'none')
{
// Change the image (if there is an image)
if (node.childNodes.length > 0)
{
if (node.childNodes.item(0).nodeName == "IMG")
{
node.childNodes.item(0).src = "minus.gif";
}
}
node.nextSibling.style.display = 'block';
}
// Collapse the branch if it IS visible
else
{
// Change the image (if there is an image)
if (node.childNodes.length > 0)
{
if (node.childNodes.item(0).nodeName == "IMG")
{
node.childNodes.item(0).src = "plus.gif";
}
}
node.nextSibling.style.display = 'none';
}
}
</script>
<TABLE BORDER=0>
<TR><TD>
<TABLE BORDER=0><TR><TD><IMG SRC="leaf.gif"> pas de fils<DIV style='display:none'>
</DIV></TD></TR></TABLE>
</TR></TD>
<TR><TD>
<TABLE BORDER=0><TR><TD><A onClick="Toggle(this)"><IMG SRC="plus.gif"> Avec des fils</A><DIV style='display:none'>
<TABLE BORDER=0><TR><TD WIDTH=10></TD><TD><IMG SRC="leaf.gif"> Fils 1<DIV style='display:none'>
</DIV></TD></TR></TABLE>
<TABLE BORDER=0><TR><TD WIDTH=10></TD><TD><A onClick="Toggle(this)"><IMG SRC="plus.gif"> Fils 2</A><DIV style='display:none'>
<TABLE BORDER=0><TR><TD WIDTH=10></TD><TD><IMG SRC="leaf.gif"> Petit fils 2 -1 <DIV style='display:none'>
</DIV></TD></TR></TABLE>
<TABLE BORDER=0><TR><TD WIDTH=10></TD><TD><IMG SRC="leaf.gif"> Petit fils 2 -12<DIV style='display:none'>
</DIV></TD></TR></TABLE>
</DIV></TD></TR></TABLE>
</DIV></TD></TR></TABLE>
</TR></TD>
</TABLE>
</BODY>
</HTML> |
Partager