Verfasst: 27.06.2008 14:50
achso, gut zu wissen.
will das thema jetzt nicht unnötig in die länge ziehen, aber wieso wird das so gehandhabt?
will das thema jetzt nicht unnötig in die länge ziehen, aber wieso wird das so gehandhabt?
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
<div style="margin-top:5px">
<div>
<input class="button2" type="button" value="Text Anzeigen" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = ''; this.innerText = ''; this.value = 'Text Verstecken'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = 'none'; this.innerText = ''; this.value = 'Text Anzeigen'; }" /></div>
<div style="min-height: 20px; background-color: #F1F0E3; margin: 0px; padding: 6px; border: solid #B4BAC0 1px; display: none;">{TEXT}</div>
</div>
Code: Alles auswählen
<div style="min-height: 20px; background-color: #F1F0E3; margin: 0px; padding: 6px; border: solid #B4BAC0 1px; display: none;">{TEXT}</div>
Code: Alles auswählen
<div style="display: none;">{TEXT}</div>