View Full Version: Spoilers and other BB Code

Arkeis Forums > Help and Suggestions > Spoilers and other BB Code


Title: Spoilers and other BB Code


Katra! - August 23, 2009 09:49 PM (GMT)
Hey EB, would you mind adding spoilers tags to this forum? It'd be awesome if you did.
If you guys want any other code to be added, you can post here.

In Sorte Sanctus - August 23, 2009 09:58 PM (GMT)
Not BBCode, but is there any way to hide or ignore forums and sub-forums?

Katra! - August 23, 2009 10:01 PM (GMT)
Oh god, I wish.
Role-Play Central pisses me off too.

espeonbird - August 23, 2009 10:08 PM (GMT)
well if we were to add Slpoiler button thingies, id need a code for them.

Katra! - August 23, 2009 10:09 PM (GMT)
Just Google it.

md427 - August 23, 2009 10:15 PM (GMT)
Here's the code that Katra gave me for spoilers: <script type="text/javascript"> <!--
var e = document.getElementsByTagName("td");
var x = /\[spoiler\=(.+?)\](.+?)\[\/spoiler\]/gi;
for(var n = 0; n < e.length; n ++) {
if(!e[n].getElementsByTagName("textarea")[0] && x.test(e[n].innerHTML))
e[n].innerHTML = e[n].innerHTML.replace(x, "<div class='spoiler' onclick='this.lastChild.style.display = (this.lastChild.style.display == \"none\") ? \"block\" : \"none\";'><span class='spoiler-title'>$1</span><span class='spoiler-message' style='display: none'>$2</span></div>");
}
// --> </script>

Katra! - August 23, 2009 10:22 PM (GMT)
Md I think that code is wrong.
Ok so here's the right code for Spoilers.

<script type="text/javascript"> <!--
var e = document.getElementsByTagName("td");
var x = /\[spoiler\=(.+?)\](.+?)\[\/spoiler\]/gi;
for(var n = 0; n < e.length; n ++) {
if(!e[n].getElementsByTagName("textarea")[0] && x.test(e[n].innerHTML))
e[n].innerHTML = e[n].innerHTML.replace(x, "<div class='spoiler' onclick='this.lastChild.style.display = (this.lastChild.style.display == \"none\") ? \"block\" : \"none\";'><span class='spoiler-title'>$1</span><span class='spoiler-message' style='display: none'>$2</span></div>");
}
// --> </script>

STICK IT IN YOUR FOOTER.

The code is:
CODE
[Spoiler=Spoiler Name](Insert Spoiler Here)[/Spoiler]

md427 - August 23, 2009 11:06 PM (GMT)
They look exactly the same. >_<

Katra! - August 23, 2009 11:10 PM (GMT)
Well I don't have time to ANALyse codes, so :rolleyes:

In Sorte Sanctus - August 23, 2009 11:16 PM (GMT)
QUOTE (Katra! @ Aug 23 2009, 07:10 PM)
Well I don't have time to ANALyse codes, so :rolleyes:

If by "codes" you mean "my night with Saint", then I ca--

DAMN IT.

Katra! - August 23, 2009 11:23 PM (GMT)
Actually, I have plenty of time for that.

In Sorte Sanctus - August 23, 2009 11:25 PM (GMT)
Good, good.

-rubs hands together-

Katra! - August 23, 2009 11:30 PM (GMT)
God only knows what you're going to do with those hands.

In Sorte Sanctus - August 23, 2009 11:37 PM (GMT)
Nope. I'm pretty sure we both know.. ;)

Katra! - August 23, 2009 11:58 PM (GMT)
e_o face makes for bonerkill

In Sorte Sanctus - August 23, 2009 11:59 PM (GMT)
Let's hope that word isn't to be taken as it's seen. Fix'd. :P

Katra! - August 24, 2009 12:02 AM (GMT)
I have yet to see what has been fixed.

In Sorte Sanctus - August 24, 2009 12:05 AM (GMT)
QUOTE (In Sorte Sanctus @ Aug 23 2009, 07:37 PM)
Nope. I'm pretty sure we both know.. ;)

This.

Katra! - August 24, 2009 12:15 AM (GMT)
No worries, dude, I'm totally into winking dog foxes and snowy weasels :D

In Sorte Sanctus - August 24, 2009 12:17 AM (GMT)
...well, I almost had one.. :\

Katra! - August 24, 2009 12:28 AM (GMT)
Did you think I was going to suck on your BB chode?

Corruption - August 24, 2009 12:31 AM (GMT)
can someone please explain whats going on? o.O

In Sorte Sanctus - August 24, 2009 12:35 AM (GMT)
Holy hell.. I laughed so hard.

Katra! - August 24, 2009 12:41 AM (GMT)
You know you're funny when you can make someone laugh through the internetz.

In Sorte Sanctus - August 24, 2009 12:47 AM (GMT)
Well, it was a stifled chuckle, but that's good enough.

Corruption - August 24, 2009 06:34 PM (GMT)
o.o i still dont get it ._.

Katra! - August 24, 2009 06:36 PM (GMT)
I used a play on words which just happened to be humorous.

Corruption - August 24, 2009 06:37 PM (GMT)
oh.. <.< >.>

Katra! - August 28, 2009 06:54 AM (GMT)
So...I guess EB has school or some shit.

In Sorte Sanctus - August 28, 2009 06:05 PM (GMT)
6th grade. Srs bsns.

Kyta - August 29, 2009 12:46 PM (GMT)
Baby penis wat

draphinix - August 29, 2009 12:48 PM (GMT)
O rly?

Katra! - August 29, 2009 07:42 PM (GMT)
^ Orly fail

Pokemonaholic - August 29, 2009 08:00 PM (GMT)
Back on topic, eb why DONT you add spoiler code? It would be cool!

Faltzer2 - August 30, 2009 09:04 PM (GMT)
QUOTE (Pokemonaholic @ Aug 29 2009, 08:00 PM)
Back on topic, eb why DONT you add spoiler code? It would be cool!

Why is it necessary?

Katra! - August 30, 2009 09:05 PM (GMT)
QUOTE (Faltzer2 @ Aug 30 2009, 02:04 PM)
QUOTE (Pokemonaholic @ Aug 29 2009, 08:00 PM)
Back on topic, eb why DONT you add spoiler code? It would be cool!

Why is it necessary?

To hide particularly large images or SPOILERS.

Faltzer2 - August 30, 2009 09:13 PM (GMT)
QUOTE
To hide particularly large images or SPOILERS.


The only valid spoilers are videogame spoilers, and most of what's discussed here gaming-wise is Pokemon, and we all know that every mainstream hand held game is going to have everything in the previous gen.

As far as large images, they can be scaled down with Javascript by default.

In Sorte Sanctus - August 31, 2009 12:25 AM (GMT)
QUOTE (Faltzer2 @ Aug 30 2009, 05:04 PM)
QUOTE (Pokemonaholic @ Aug 29 2009, 08:00 PM)
Back on topic, eb why DONT you add spoiler code? It would be cool!

Why is it necessary?

Really just because they don't have it.



Hosted for free by InvisionFree