Bonsoir,
J'ai un souci d'affichage de pseudo-frame.
Mon index contient ceci :
dans menu.php :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 <table border="1" cellspacing="0" cellpadding="0" width="900" background="#f1f2ed"> <tr> <td colspan=2> <? include('haut.php');?> </td> </tr> <tr> <td> <? include('menu.php');?> </td> <td> <? include('centre.php');?> </td> </tr> <tr> <td colspan=2> <? include('bas.php');?> </tr> </table>
et dans centre.php :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 <table border="0" cellspacing="0" cellpadding="0" width="155" height="400" bgcolor="#f0f0e6"> <tr> <td style="padding-left: 15; padding-right: 15; padding-bottom: 30; background-repeat:no-repeat" align="center" valign="top" background="images/menudroit.jpg" width="150" height="260"> <font class="norm"> <br><br><a href="index.php" class="soulignepas">Accueil</a> <br><br><a href="index.php?go=galerie/pagemenu" class="soulignepas" >Ma galerie</a> <br><br>Les News > Les Archives <br><br>Les liens <br><br><a href="index.php?go=contact/formulairecontact" class="soulignepas" >Contact</a></font> </td> </tr> </table>
La page 'galerie/page_menu' s'affiche bien par défaut mais lorsqu'on clique sur un lien du menu, cela ne change pas l'affichage de centre.php même si le lien a l'air correct.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 <table width="780" valign="top" align="left" celpadding="0" celspacing="0" border="0"> <tr> <td> <? if ($go=="") $go="galerie/page_menu"; $urlxc = $go.".php"; include("$urlxc"); ?> </td> </tr> </table>
Merci beaucoup de votre aide car après des heures de recherches, je ne vois pas l'erreur.
Bonne soirée.
Partager