Spoiler BBcode

Report bugs, registration issues, or just suggest some new features in this thread! Guaranteed to have at least 10% more dev attention than other threads!

Spoiler BBcode

Postby rabid squirrel on Fri Aug 07, 2009 1:47 pm

Could we get some spoiler BBcode? It's a code where you hit a button that says "show spoiler" and the content appears below the button, and then you can hit the same button (it now says "hide spoiler") and it goes away again. They can be very useful for making long posts compact and letting users choose what they want to look at (*cough* like a certain sticky thread I made) I like spoilers where only the button activates the spoiler and not the whole area of the content of it - that way you can click on links and stuff inside spoilers without closing it.

I wish I had the spoiler code from the old site I was admin on that got hacked, it worked really well.
User avatar
rabid squirrel
 
Posts: 385
Joined: Tue Sep 02, 2008 1:08 pm
Location: Planet Zarof

Re: Spoiler BBcode

Postby Blu3_Pi3 on Fri Aug 07, 2009 2:01 pm

Just say what site got hacked :facepalm:

*CoughIRTLCough*

And yes I liked those spoiler buttons :)
User avatar
Blu3_Pi3
 
Posts: 556
Joined: Sun Nov 16, 2008 10:52 am
Location: Eating your pie! Oops! Too late Im done :)

Re: Spoiler BBcode

Postby VERYDUMBNAME on Fri Aug 07, 2009 2:29 pm

I like them to
User avatar
VERYDUMBNAME
 
Posts: 1503
Joined: Fri Oct 24, 2008 12:52 pm
Location: uʍop ǝpısdn sı uǝǝɹɔs ɹnoʎ sıɥʇ pɐǝɹ uɐɔ noʎ ɟı

Re: Spoiler BBcode

Postby JHawk4 on Fri Aug 07, 2009 2:31 pm

That would be nice to choose what to tweak.
User avatar
JHawk4
 
Posts: 3049
Joined: Fri Dec 19, 2008 5:01 pm
Location: Minnesota

Re: Spoiler BBcode

Postby rabid squirrel on Fri Aug 07, 2009 10:26 pm

Here's the code for a spoiler: (from linerider.org, theirs are similar)

It can probably be modified if you want to.

Code: Select all
<div id="spoiler"><div> <input type="button" value="Show Spoiler!" style="width:100px;font-size:12px;margin:10px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')['numb'].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')['numb'].style.display = ''; this.parentNode.parentNode.getElementsByTagName('div')['numbdesc'].style.display = 'none'; this.innerText = ''; this.value = 'Hide Spoiler!'; } else { this.parentNode.parentNode.getElementsByTagName('div')['numb'].style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('div')['numbdesc'].style.display = ''; this.innerText = ''; this.value = 'Show Spoiler!'; }" /> <div id="numb" style="background-image:url(http://img222.imageshack.us/img222/4866/89699153lm6.png); display: none; background-color:transparent; background-repeat:repeat; margin: 0px;border-style:solid;border-width:1px; padding: 4px; width:98%"> Some Text </div> <div id="numbdesc"></div> </div> </div>
User avatar
rabid squirrel
 
Posts: 385
Joined: Tue Sep 02, 2008 1:08 pm
Location: Planet Zarof

Re: Spoiler BBcode

Postby VERYDUMBNAME on Sat Aug 08, 2009 6:43 am

on jayis games they have them also
User avatar
VERYDUMBNAME
 
Posts: 1503
Joined: Fri Oct 24, 2008 12:52 pm
Location: uʍop ǝpısdn sı uǝǝɹɔs ɹnoʎ sıɥʇ pɐǝɹ uɐɔ noʎ ɟı

Re: Spoiler BBcode

Postby Dr. Phil on Sat Aug 08, 2009 10:01 pm

VERYDUMBNAME wrote:I like them to


You like them to do what?
User avatar
Dr. Phil
 
Posts: 2509
Joined: Wed Aug 27, 2008 2:02 pm

Re: Spoiler BBcode

Postby joeysjj on Sat Aug 08, 2009 10:13 pm

Dr. Phil wrote:
VERYDUMBNAME wrote:I like them to


You like them to do what?



He means that he likes the BBCodes too
User avatar
joeysjj
 
Posts: 355
Joined: Wed Aug 20, 2008 10:14 am
Location: „˙zʎxʍʌnʇsɹbdouɯןʞɾıɥƃɟǝpǝɔqɐ„' uʍop ǝpısdn ʇǝqɐɥdןɐ ʎɯ ƃuıʎɐs

Re: Spoiler BBcode

Postby rabid squirrel on Thu Nov 25, 2010 7:28 pm

...bump

this would really enable me to clean up the simplest badge records thread. see this thread for example:

http://iridethelines.forumotion.com/eng ... s-t817.htm
User avatar
rabid squirrel
 
Posts: 385
Joined: Tue Sep 02, 2008 1:08 pm
Location: Planet Zarof

Re: Spoiler BBcode

Postby 0wnyouu on Fri Nov 26, 2010 9:44 pm

great idea but weasel left =/
User avatar
0wnyouu
 
Posts: 505
Joined: Sat Jun 13, 2009 11:46 am
Location: Washington


Return to Feedback and Problems



Who is online

Users browsing this forum: No registered users