Bonjour à tous,

J'ai un problème plutôt dérangeant. J'ai créé en php un calendrier avec, à chaque date, si il y a besoin, un lien vers l'article concerné.

Le calendrier se génère sans problème, mais il y a une chose que je ne comprend pas: les liens existent mais je ne peux pas cliquer dessus.

Voici mon code HTML une fois que le calendrier est généré.

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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 
<tr id='jour'>
   <td><span>1</span></td>
   <td><span>2</span></td>
   <td><span>3</span></td>
   <td><span>4</span></td>
   <td><span>5</span></td>
   <td><span><a href='agenda.php?jour=06&mois=10&annee=2007'>6</a></span></td>
   <td><span><a href='agenda.php?jour=07&mois=10&annee=2007'>7</a></span></td>
</tr>
<tr id='jour'>
   <td><span><a href='agenda.php?jour=08&mois=10&annee=2007'>8</a></span></td>
   <td><span>9</span></td>
   <td><span>10</span></td>
   <td><span>11</span></td>
   <td><span>12</span></td>
   <td><span>13</span></td>
   <td><span>14</span></td>
</tr>
<tr id='jour'>
   <td><span>15</span></td>
   <td><span>16</span></td>
   <td><span>17</span></td>
   <td><span>18</span></td>
   <td><span>19</span></td>
   <td><span>20</span></td>
   <td><span><a href='agenda.php?jour=21&mois=10&annee=2007'>21</a></span></td>
</tr>
<tr id='jour'>
   <td><span><a href='agenda.php?jour=22&mois=10&annee=2007'>22</a></span></td>
   <td><span><a href='agenda.php?jour=23&mois=10&annee=2007'>23</a></span></td>
   <td><span><a href='agenda.php?jour=24&mois=10&annee=2007'>24</a></span></td>
   <td><span><a href='agenda.php?jour=25&mois=10&annee=2007'>25</a></span></td>
   <td id='cDaujourdhui'><span>26</span></td><td><span>27</span></td>
   <td><span><a href='agenda.php?jour=28&mois=10&annee=2007'>28</a></span></td>
</tr>
<tr id='jour'>
   <td><span>29</span></td>
   <td><span>30</span></td>
   <td><span>31</span></td>
</tr>
Aucun des lien dans ce code ne fonctionne. Pourtant, ils sont là. C'est bizarre.

De plus, le problème existe sur firefox et Safari, mais il est inexistant sur IE. J'ai cru que c'etait le javascript mais je l'ai désactivé et le problème a persisté.

J'ai posté ce problème dans la section HTML car je ne vois pas d'erreur à l'affichage du code source, donc le PHP a bien fait son boulot.

Si quelqu'un à une idée, dites le moi ...

Merci par avance.