[bbcode] wbb3 to phpbb3 - Spoiler

User submitted BBCodes
Let us see what You have
There is no support here! Only Read Access!
Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.
Remember that it is not allowed to use {TEXT} inside the html tags!!!
It causes a serious security risk to your board and users.
Like this: <div style="{TEXT}">{TEXT}</div>
Green = OK - Red = forbidden
Locked
Daniel_Knecht
BBCoder II
BBCoder II
Posts: 23
Joined: 08 Jun 2010, 13:48
Location: Germany
Contact:

[bbcode] wbb3 to phpbb3 - Spoiler

Post by Daniel_Knecht »

Hello,
here is another bbcode for phpbb3. This is a Spoiler like wbb3.
"Thanks to my Friend sascha3008 for the little help :)"

BBCode:

Code: Select all

[spoiler={INTTEXT}]{TEXT}[/spoiler]
HTML Code:

Code: Select all

<div style="padding:1px; background:url(images/spoiler_bg.jpg) repeat-x; border:1px solid #3674b3;"><div style="font-size:12px; color:#ffffff;"><span 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.innerHTML = '<a href=\'#\' onClick=\'return false;\'><img src=\'images/minus.png\' width=\'10\' height=\'10\' border=\'0\' style=\'margin:0px 10px 0px 10px;\'></a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<a href=\'#\' onClick=\'return false;\'><img src=\'images/plus.png\' width=\'10\' height=\'10\' border=\'0\' style=\'margin:0px 10px 0px 10px;\'></a></a>'; }" ><a href="#" onClick="return false;"><img src="images/plus.png" width="10" height="10" style="margin:0px 10px 0px 10px;"></a></span><b>Spoiler:</b>&nbsp;&nbsp;{INTTEXT}</div><div style="background-color:#ffffff; padding:0px 10px 0px 10px;" class="quotecontent"><div style="display: none;"><br>{TEXT}<br><br></div></div></div>
Helpline:

Code: Select all

Spoiler: [spoiler=titel des spoilers]inhalt des spoilers[/spoiler]
Image you need to Download: (right click > save as...)
Image Image Image

Example:
Visit: Spoiler DEMO
Last edited by Daniel_Knecht on 06 Sep 2010, 23:00, edited 1 time in total.
Sorry for my bad English :(
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: [bbcode] wbb3 to phpbb3 - Spoiler

Post by cisco007 »

very nice looking spoiler!
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: [bbcode] wbb3 to phpbb3 - Spoiler

Post by Fire-Fox »

Indeed :)

great job!
User avatar
Inner Circle
BBCoder III
BBCoder III
Posts: 107
Joined: 20 Mar 2010, 20:25
Location: Germany
Contact:

Re: [bbcode] wbb3 to phpbb3 - Spoiler

Post by Inner Circle »

This spoiler looks much better than the one i used

Thanks!
wijo
BBCoder II
BBCoder II
Posts: 17
Joined: 27 Jun 2010, 10:09

Re: [bbcode] wbb3 to phpbb3 - Spoiler

Post by wijo »

Daniel_Knecht » 09 Jun 2010, 18:57 wrote:Hello,
here is another bbcode for phpbb3. This is a Spoiler like wbb3.
"Thanks to my Friend sascha3008 for the little help :)"

Image you need to Download: (right click > save as...)
Image Image Image

Example:
Visit: Spoiler DEMO
The images have gone. Daniel? Or somebody else?
Locked