Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[ Request ] Spoiler Tags?

2»

Comments

  • Maybe your extension didn't not work for me because I don't have the BBCode extension enabled?

    If it's transparent to the user I have no problem with your suggestion Krak.

    Posted: Thursday, 15 March 2007 at 11:41AM (AEDT)

  • KrakKrak New
    edited March 2007
    Hmm, it should. I used it without the BBCode extension. It didn't work for you at all? What extensions do you have enabled, I'll take a look.

    It is beta, and to be honest I had forgotten about it and have not worked on it since.
  • That Hidden Text add-on looks great, thanks Krak, but is there anyway to get it working with HTML instead of BBCode? Cheers
  • edited November 2007
    Here are three ways to hide spoilers using only HTML: background-color text, tag or button with title, drop-down box:
    • What is Winona Ryder's real name? Winona Laura Horowitz (highlight to see)
    • In Casablanca, what does Capt. Renault say after Strasser is shot? hover here for answer ;

    • Who had a cameo in Wild Hogs? the actor was...Peter Fonda
    Toolbar can just pop in boilerplate, with "anchor" and "spoiler" as placeholders. So... don't need CSS, Javascript or changes to code outside the extension, if you want to keep things simple.
  • KrakKrak New
    edited November 2007
    I wouldnt call that simple. That requires your users to enter long HTML tags, and not all of them are supported by all browsers. some use alt, some use title. I find the highlighting irritating and the only other example you gave that worked in my browser was the drop down box.

    HiddenText worked great until recently (actually I think it was just fixed). The only drawbacks where one hidden field per comment. All the other complaints/suggestions/requests seem to be a user preference (eg: html over bbcode tags).
  • Actually Krak man I like your last option!
    • Who played Morticia Frump in The Addams Family?    Carolyn Jones
  • Krak - if it's an extension, user won't enter tags - just data. Done right it's a dialog box, like links. Complexity of URLs is not a problem, since we don't type them.

    Not meaning to diss HiddenText - but reading through the thread, people seemed to be scratching their heads about something easily done. I think the only drawback of the dropdown is that it's too familiar to seem glamorous. And... highlighting is irritating? Tastes differ; some prefer things whose mechanism is transparent.

    (And if you can see how it's done, you can do it yourself. <font color=gray style=background-color:gray> puts a spoiler in HTML email or on any HTML forum - or in a Word document, using highlighting, with a note: "change highlight to reveal.")
  • Ah yes, I didn't even think of it like that. I assumed (my fault) that you meant for the user to enter the html code (instead of making an extension).... my bad. I suppose that would work just the same. There were different circumstances for HiddenText (and it can be used for far more than just text spoilers, I love it for hiding images till I want to see them).
This discussion has been closed.