Better spoiler tags

News and Announcements about LoadingReadyRun
User avatar
Bebop Man
Posts: 4465
Joined: 22 May 2013, 22:55
First Video: The Pirate Video
Location: The Black Lodge

Re: Better spoiler tags

Postby Bebop Man » 15 Jun 2013, 09:52

Good idea is good.
Image
User avatar
Paul
Super Moderator
Posts: 1000576
Joined: 15 Apr 2005, 18:31
First Video: Tetris
Location: Victoria, BC

Re: Better spoiler tags

Postby Paul » 16 Jun 2013, 15:34

I have been busy with other stuff, but I finally got around to implementing the collapsible text boxes. You should now see a "collapse" bbcode button beside spoiler and strike on the post editing screen.

The tag works either plain:

Code: Select all

[collapse]Hidden Text[/collapse]

Click to Expand
Here is some generic collapsed content


Or with a topic:

Code: Select all

[collapse=topic]Hidden Text[/collapse]

My Secret Topic - Click to Expand
Here is some info about this topic


You may need to shift-refresh to get the new stylesheet with the tag styling.

As always, let me know if there are any issues
User avatar
Jamfalcon
Posts: 3329
Joined: 08 Aug 2011, 13:59
First Video: Killer Instinct
Location: Somewhat nearish Vancouver. Kind of.
Contact:

Re: Better spoiler tags

Postby Jamfalcon » 16 Jun 2013, 15:49

Looks great! Thanks, Paul.
"Jamfalcon's a super weird name" - Graham

I wrote a book!
Image
User avatar
Master Gunner
Defending us from The Dutch!
Posts: 19383
Joined: 29 Oct 2006, 12:19
First Video: How To Talk Like A Pirate
Location: In Limbo.

Re: Better spoiler tags

Postby Master Gunner » 16 Jun 2013, 16:24

Click to Expand
Ooh, fancy.
TheRocket wrote:Apparently the crotch area could not contain the badonkadonk area.
Twitter | Click here to join the Desert Bus Community Chat.
User avatar
tamaness
Posts: 2673
Joined: 17 Oct 2008, 03:44
First Video: LRReview: Desert Bus
Location: Stuck between a rock and a hard place
Contact:

Re: Better spoiler tags

Postby tamaness » 16 Jun 2013, 16:49

I'd like to point out that Chrome (27.0.1453.110 on OS 10.8.4) renders the [collapse] spoilers as expanded, and collapses them when I click them.
User avatar
Jamfalcon
Posts: 3329
Joined: 08 Aug 2011, 13:59
First Video: Killer Instinct
Location: Somewhat nearish Vancouver. Kind of.
Contact:

Re: Better spoiler tags

Postby Jamfalcon » 16 Jun 2013, 17:14

If it's helpful, I'm not having that issue on the same version of Chrome, but running it on Windows 7.
"Jamfalcon's a super weird name" - Graham

I wrote a book!
Image
User avatar
Paul
Super Moderator
Posts: 1000576
Joined: 15 Apr 2005, 18:31
First Video: Tetris
Location: Victoria, BC

Re: Better spoiler tags

Postby Paul » 16 Jun 2013, 17:31

madAlric wrote:I'd like to point out that Chrome (27.0.1453.110 on OS 10.8.4) renders the [collapse] spoilers as expanded, and collapses them when I click them.


Does the text have a white background? If not you might not have the new style sheet. Try refreshing a couple of times.
User avatar
phlip
Posts: 1790
Joined: 24 Apr 2010, 17:48
First Video: Eternal Sonata (Unskippable)
Location: Australia

Re: Better spoiler tags

Postby phlip » 16 Jun 2013, 18:14

Yeah, at first for me too (Firefox) they were unstyled, and started expanded, with the first click collapsing them, but doing a hard refresh fixed that.

I like it!
While no one overhear you quickly tell me not cow cow.
but how about watch phone?

[he/him/his]
User avatar
tamaness
Posts: 2673
Joined: 17 Oct 2008, 03:44
First Video: LRReview: Desert Bus
Location: Stuck between a rock and a hard place
Contact:

Re: Better spoiler tags

Postby tamaness » 16 Jun 2013, 20:08

It's working now that I've browsed around some. It probably was Chrome cacheing the old stylesheet for just a bit too long.

This looks really good now that it works.
User avatar
Sieg Reyu
Posts: 2930
Joined: 16 Oct 2006, 12:24
First Video: How to Talk Like a Pirate
Location: State of Confusion
Contact:

Re: Better spoiler tags

Postby Sieg Reyu » 19 Jun 2013, 21:45

Click to Expand
I see that you have implemented collapse. Cool beans.
Image Image Image
User avatar
AdmiralMemo
Posts: 7358
Joined: 27 Nov 2011, 18:29
First Video: Unskippable: Eternal Sonata
Location: Baltimore, Maryland, USA
Contact:

Re: Better spoiler tags

Postby AdmiralMemo » 19 Jun 2013, 23:50

Sieg Reyu wrote:
Click to Expand
I see that you have implemented collapse. Cool beans.
Click to Expand
I see he's improved it from when I last checked, too. (Or Chrome just finally got the updated stylesheet.)
Graham wrote:The point is: Nyeh nyeh nyeh. I'm an old man.
LRRcast wrote:Paul: That does not answer that question at all.
James: Who cares about that question? That's a good answer.

Image
User avatar
the amativeness
Posts: 3737
Joined: 31 Jul 2008, 19:53
Location: America, where everyone sues everyone, always, for everything.

Re: Better spoiler tags

Postby the amativeness » 20 Jun 2013, 20:40

AdmiralMemo wrote:
Sieg Reyu wrote:
Click to Expand
I see that you have implemented collapse. Cool beans.
Click to Expand
I see he's improved it from when I last checked, too. (Or Chrome just finally got the updated stylesheet.)
Click to Expand
That would be it. There haven't been any updates since he added it, so it would be your stylesheet. A hard refresh (control/command + R) usually fixes it.
Image
zA: How do I relax?
Evil Jim: Jerk off.
Frozengale: You know you're on the internet when Masturbation is the first suggestion.
User avatar
Bebop Man
Posts: 4465
Joined: 22 May 2013, 22:55
First Video: The Pirate Video
Location: The Black Lodge

Re: Better spoiler tags

Postby Bebop Man » 09 Oct 2013, 08:52

Click to Expand
Testing 1 2 3
Image

Return to “Site News”



Who is online

Users browsing this forum: No registered users and 4 guests