Read Thread: Spoiler tags?
Board: Letterboxing Help Desk
I’m wondering if it’s possible to turn on or enable spoiler tags on this site? I stumbled across a cool artist I thought would be fun to share with the LTCer in a forum post but as I scrolled through her work, I noticed there were a couple of painting...
That's an interesting idea.... I'd never heard of a spoiler tag before. How do you imagine it would look? I googled for information about spoiler tags and see a couple of different ways it might work, but how have you seen it used in the past? -- Ryan
They are used on several other message boards I visit occasionally. I believe they are used like this: [spoiler] [/spoiler] See post 22 in this thread for an example: https://boards.straightdope.com/sdmb/showthread.php?t=843800
Goodreads is one site that uses spoiler tags. On Goodreads people post reviews of books they've read, so any spoilers in their reviews can be placed between spoiler tags. Spoiler tags on Goodreads
So I've been playing around with simple ways to make this work, and I have a working version... more-or-less. You might have to click the "refresh" button on your browser to see it work if your browser is using a cached version of the CSS. -- Ryan
Let’s see if it works. Testing 1, 2, 3. ETA: Hmm, not sure I got it. I used both brackets, </spoiler> and [/spoiler]. What am I not doing right?
... Try clicking that 'refresh' button on your browser. I updated the CSS code, but if your browser is using the old version, you won't see anything. Eventually your browser will pick up the new version, but I set up AQ so it only checks new versions...
So as a test one could show Ryan's alter ego to see if the spoiler aspect hides the info for those who don't want to know. https://goo.gl/images/577at4 .
Hmm...I am not seeing a second click option to the link. Failed test?
... Well... yes and no. Just hovering a mouse cursor over the spoiler is enough to get it to show. Since things like smartphones don't have a mouse, you can tap it (or with a keyboard, move the focus to it) and it'll show. But it only takes a single cl...
I should also point out.... The spoiler tag is something that's embedded into the wiki/html markups, so it actually works anywhere you can type in wiki/html markup. Including AQ mail and clues.... Just sayin'.... ;o) Although there are caveats about...
Wow! Very cool. Thanks Ryan. Also I can see that it will open up some very interesting possibilities for clues. Hmm... ... Yeah, that’s the kind of thing I was thinking about. Well done, oh and now I see why Ryan’s favorite color is purple.
... Looks like someone has already used your suggestion. ;-) I was trying to explain to a friend how this works and I notice it’s not on the markup page yet. Just sayin’. 😄
... Actually.... it is on the markup comparisons page. I was a little lazy trying to work it into the Wiki and HTML markup pages, though, neither of which is as complete as the markup comparisons page. (You also won't find the wassa tag except on the c...
... Hmm, I was unaware of that page. Good to know. Thanks! DZ
... I was going to post that there is no way to get to that page, but I found it at the bottom (last sentence) of the Wiki Markup Help and HTML Help pages. I'm posting that information here so that others will know as well.
I'll get around to fixing the other pages... eventually. =) Done! -- Ryan
Yay! Thanks, you da man.