
Il n'y a pas de parade ?
Merci.
Alors ne compte pas sur moiSteph a écrit : mais bon faut déjà trouver pourquoi cela ne fonctionne pas
Code : Tout sélectionner
<div style="margin:20px; margin-top:5px">
<div class="quotetitle">
<strong> </strong> <input type="button" value="Afficher" style="width:60px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Masquer'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Afficher'; }" />
</div>
<div class="quotecontent">
<div style="display: none;">{TEXT}</div>
</div>
</div>