PHP expert |
|
Ik heb mijn script(je) vergeleken met andere script maar ik zie het verschil niet.. :[. In firefox doet dit het goed maar in IE weer eens niet. Het probleem is dat als ik op een vlag klik mijn textarea niet komt. Iemand die de fout ziet?
<tr>
<td class="center" colspan="2" style="background-color: #bfcdd7; border-bottom: 1px #adc1cf solid">
<img src="/img/nl.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_nl').style.display = 'block'" /> |
<img src="/img/fr.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_fr').style.display = 'block'" /> |
<img src="/img/es.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_es').style.display = 'block'" /> |
<img src="/img/it.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_it').style.display = 'block'" /> |
<img src="/img/de.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_de').style.display = 'block'" />
</td>
</tr>
<tr>
<td colspan="2" style="border-bottom: 1px #adc1cf solid">
<table cellpadding="0" cellspacing="0" id="HotelsDescription_nl" style="display: none">
<tr>
<td class="left" valign="top"><?= $language[151] .' '. $language[306] ?></td>
<td class="right"><textarea name="HotelsDescription_nl" cols="40" rows="5" <?= ($border['HotelsDescription_nl'] == 'border') ? 'style="border: 1px #FF0000 solid"' : ''; ?>><?= input($_POST['HotelsDescription_nl']) ?></textarea></td>
</tr>
</table>
<tr> <td class="center" colspan="2" style="background-color: #bfcdd7; border-bottom: 1px #adc1cf solid"> <img src="/img/nl.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_nl').style.display = 'block'" /> | <img src="/img/fr.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_fr').style.display = 'block'" /> | <img src="/img/es.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_es').style.display = 'block'" /> | <img src="/img/it.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_it').style.display = 'block'" /> | <img src="/img/de.png" style="width: 16px; height: 11px; cursor: pointer" alt="" onclick="document.getElementById('HotelsDescription_de').style.display = 'block'" /> </td> </tr> <tr> <td colspan="2" style="border-bottom: 1px #adc1cf solid"> <table cellpadding="0" cellspacing="0" id="HotelsDescription_nl" style="display: none"> <tr> <td class="left" valign="top"><?= $language[151] .' '. $language[306] ?></td> <td class="right"><textarea name="HotelsDescription_nl" cols="40" rows="5" <?= ($border['HotelsDescription_nl'] == 'border') ? 'style="border: 1px #FF0000 solid"' : ''; ?>><?= input($_POST['HotelsDescription_nl']) ?></textarea></td> </tr> </table>
edit iets ingekort. Die tabel die display: none heeft heb ik nog 4 keer maar anders is de code wat groot.
|