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.
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).
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).
Comments
If it's transparent to the user I have no problem with your suggestion Krak.
Posted: Thursday, 15 March 2007 at 11:41AM (AEDT)
It is beta, and to be honest I had forgotten about it and have not worked on it since.
- 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.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).
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.")