Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyBBCodes
#8
Bei Spoiler empfehle ich dir meinen Code! Er ist ziemlich einfach... Aber der von Narutofan ist auch gut:

Neuen MyCode
Spoiler:
Titel: Spoiler

Regulerer Ausdruck:
PHP Code:
\[spoiler\](.*?)\[/spoiler\] 

PHP Code:
<div class="spoiler">  <div class="smallfont"> <i>Das ist ein Spoiler!  </i><input class="button" value="Anzeigen" style="margin: 0px; padding: 0px; width: 60px; font-size: 10px;" 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 = 'Schliessen'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Anzeigen'; }" type="button">  </div>  <div class="alt2">  <div style="display: none;"> $</div>  </div> </div



Nochmal neuen MyCode
Spoiler mit =:
Titel: Spoiler=

Regulerer Ausdruck:
PHP Code:
\[spoiler=(.*?)\](.*?)\[/spoiler

PHP Code:
<div class="spoiler">  <div class="smallfont"> <i>Das ist ein Spoiler! <style="display2: none;"><b> $</b></i><input class="button" value="Anzeigen" style="margin: 0px; padding: 0px; width: 60px; font-size: 10px;" 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 = 'Schliessen'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Anzeigen'; }" type="button">  </div>  <div class="alt2">  <div style="display: none;"> $</div>  </div> </div
✝ RiP 
Weiter geht's  Cool
Reply


Messages In This Thread
MyBBCodes - by HuGoB0Zz - 08.12.2008, 15:59
RE: MyBBCodes - by YouTube - 11.12.2008, 21:35
RE: MyBBCodes - by Narutofan XXl - 11.12.2008, 21:48
RE: MyBBCodes - by HuGoB0Zz - 12.12.2008, 16:30
RE: MyBBCodes - by agent47 - 12.12.2008, 15:47
RE: MyBBCodes - by HuGoB0Zz - 12.12.2008, 17:52
RE: MyBBCodes - by Milu2K - 12.12.2008, 17:59
RE: MyBBCodes - by HuGoB0Zz - 12.12.2008, 18:07
RE: MyBBCodes - by Milu2K - 12.12.2008, 18:12
RE: MyBBCodes - by HuGoB0Zz - 12.12.2008, 18:21
RE: MyBBCodes - by Milu2K - 12.12.2008, 18:24
RE: MyBBCodes - by HuGoB0Zz - 12.12.2008, 18:41
RE: MyBBCodes - by Milu2K - 12.12.2008, 18:43
RE: MyBBCodes - by HuGoB0Zz - 14.12.2008, 07:53



Users browsing this thread: 2 Guest(s)