How to include this BBCode on a phpBB?

Help with html/xhtml, css, javascript and other related topics.

Moderator: Moderators

How to include this BBCode on a phpBB?

Postby Reiji Kurosaky on Sat Feb 04, 2006 7:30 am

Greetings,

How can I add a BBcode with this function:

[code filename="Javascript"]
function showSpoiler(block) {
// by The Small One
block.nextSibling.nextSibling.style.display ="block";
block.parentNode.removeChild(block);
}
[/code]

And then, the code syntax will be like this:

Code: Select all
<div class="spoiler">
<input type="button" class="button" onClick="showSpoiler(this);" value="Ver SPOILER">
<span class="content" style="display:none">{param}</span>
</div>


So, the BBcode ends up like this:

[spoiler]{parameter}[/spoiler]

I have this on my site, but I dunno how to insert it into my phpBB forum.

Can somebody help me?
My sites:
Villavizar.com

My Styles:
[Venus]
User avatar
Reiji Kurosaky
Registered User
Registered User
 
Posts: 858
Joined: Sat Dec 03, 2005 4:05 pm

Postby UseLess on Sat Feb 04, 2006 11:34 am

Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby Reiji Kurosaky on Sat Feb 04, 2006 12:29 pm

Well, it wasn´t what I was looking for, but I think it can help.

Thanks UseLess.
My sites:
Villavizar.com

My Styles:
[Venus]
User avatar
Reiji Kurosaky
Registered User
Registered User
 
Posts: 858
Joined: Sat Dec 03, 2005 4:05 pm

Re: How to include this BBCode on a phpBB?

Postby Devereux on Sat Sep 06, 2008 3:16 pm

Can Anyone Just Post Here The HTML Coding Bit Plzz
Devereux
Registered User
Registered User
 
Posts: 1
Joined: Sat Sep 06, 2008 2:46 pm


Return to (X)HTML Coding

Who is online

Users browsing this forum: Bing [Bot] and 1 guest