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
<br />
<div>
	<script type="application/javascript">
// <![CDATA[
document.writeln("'	<button class=\"button2\" onclick=\"");
document.writeln("var spoiler = this.parentNode.getElementsByTagName('div')[0];");
document.writeln("if (spoiler.style.display != '') {");
document.writeln("	spoiler.style.display = '';");
document.writeln("	this.innerText = 'Spoiler verstecken';");
document.writeln("} else {");
document.writeln("	spoiler.style.display = 'none';");
document.writeln("	this.innerText = 'Spoiler Anzeigen';");
document.writeln('}"');
document.writeln("			type=\"button\">Spoiler Anzeigen</button>");
document.writeln("<div style=\"border: 1px inset ; margin: 0px; padding: 5px; display: none;\">{TEXT}</div>");
// ]]>
	</script>
	<noscript>
		<strong>Spoiler (markieren zum Anzeigen)</strong>
		<div style="background-color: #666666; color: #666666">{TEXT}</div>
	</noscript>
</div>
---------------------------------------------------------------------------------------------------------------------------
<br />
<div style="margin: 0px;">
	<div class="smallfont" style="margin-bottom: 0px;">
		
		<input value="Spoiler Anzeigen" style="margin: 0px;
									padding: 0px;
									width: 110px;
									font-size: 10px;
									font-weight: bold;"
			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 = 'Spoiler verstecken'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Spoiler Anzeigen'; }"
			type="button" />
	</div>
	<div class="alt2" style="border: 1px inset ; margin: 0px; padding: 0px;">
		<div style="display: none;">{TEXT}</div>
	</div>
</div>
bei mir laufen atm beide (liegt an der Speicherweise von phpbb