bonjour
je tente de faire un menu avec des onglets dont voici le code :
#01: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
#02: <html>
#03: <head><BOUCLE_head(RUBRIQUES) {id_rubrique}>
#04: <title>#TITRE - #NOM_SITE_SPIP</title>
#05: </head></BOUCLE_head>
#06: <LINK REL=StyleSheet HREF="style.css" TYPE="text/css">
#07: <body link="#523c72" alink="green">
#08: <table class="navTop" cellpadding="0" cellspacing="0" border="0">
#09: <tr>
#10: <td><img src="IMG/AN_logo.gif" alt="#URL_SITE_SPIP" width="231"
height="60" border="0"></td>
#11: <td><img src="IMG/dot_trans.gif" width="10" height="1"
border="0"></td>
#12: <td class="navTop" width="100%"><table cellpadding="0" cellspacing="0"
border="0"><tr>
#13: <td class="navTopOnglet" style="padding-right:10px">
#14: <table class="<?php if($idRub) { echo 'navTopOngletOff';} else {
echo 'navTopOngletOn';}?>" cellpadding="0" cellspacing="0" border="0"><tr>
#15: <td width="4"><img src="IMG/corner_nw.gif" width="4" height="4"
border="0"></td>
#16: <td class="navTopOngletText"><a class="<?php if($idRub) { echo
'whiteCls';} else { echo 'redCls';}?>" href="">accueil</a></td>
#17: <td width="4" align="right"><img src="IMG/corner_ne.gif" width="4"
height="4" border="0"></td>
#18: </tr></table>
#19: </td><BOUCLE_headerNav_racine(RUBRIQUES) {racine}>
#20: <td class="navTopOnglet">
#21: <table class="<?php if($idRub == '#ID_RUBRIQUE') { echo
'navTopOngletOn';} else { echo 'navTopOngletOff';}?>" cellpadding="0"
cellspacing="0" border="0"><tr>
#22: <td width="4"><img src="IMG/corner_nw.gif" width="4" height="4"
border="0"></td>
#23: <td class="navTopOngletText"><a class="<?php if($idRub ==
'#ID_RUBRIQUE') { echo 'redCls';} else { echo 'whiteCls';}?>"
href="?id_rubrique=#ID_RUBRIQUE">#TITRE</a></td>
#24: <td width="4" align="right"><img src="IMG/corner_ne.gif" width="4"
height="4" border="0"></td>
#25: </tr></table>
#26: </td></BOUCLE_headerNav_racine>
#27: </tr></table></td>
#29: </tr>
#30: </table>
#31: <table class="navTopSub" width="100%" cellpadding="0" cellspacing="0"
border="0"><tr><td class="navTopSub" width="750" bgcolor="#ffffff"
align="center"><B_rootSubRub>-:<BOUCLE_rootSubRub(RUBRIQUES)
{id_rubrique}><BOUCLE_subRub(RUBRIQUES) {id_parent}> <a
href="#URL_RUBRIQUE">#TITRE</a>
:</BOUCLE_subRub></BOUCLE_rootSubRub>-</B_rootSubRub> <//B_rootSubRub><
/td></tr></table>
j'ai bien conscience k'il va falloire changer le code php [#21]
quelqu'un a-t-il une idee ? thx