in reply to spoiler tag "abuse"

In Re: Why is this code so much slower than the same algorithm in C? BrowserUK uses spoiler tags to avoid displaying the entire contents of the post "until the reader elects to view them", which the Readmore tags do not achieve (quoting and paraphrasing what he messaged me).

However, this really doesn't work as he intended when the spoiler tag is set to table mode (update: and reveal, div, and span as well) because the spoiler tag was never meant to be used like this. In table mode the background and foreground colors are the same -- e.g. black text on a black background -- so that the user has to select the contents to "see" them. Of course, this doesn't make a long post shorter and it makes large chunks of code really difficult to read. Try turning on table mode and then read BrowserUK's post to get the full effect to experience it first hand!

Given that the spoiler tag continues to be misused like this is there any chance we could get a new tag that behaves like the default settings for the spoiler tag? I'm not sure what to call it, though I can make some not so good suggestions: "ShowMore" or "Expand".

Or perhaps the opposite could be done by creating a "Summary" tag (or "Abstract") where a summary of a post could be placed. Then by default only that summary would be displayed with an option to show the entire post.

Thoughts?

Update: Or what about never auto-expanding Readmore tags?

Elda Taluta; Sarks Sark; Ark Arks

  • Comment on We need a second readmore tag so that people will stop misusing the spolier tag!

Replies are listed 'Best First'.
Re: We need a second readmore tag so that people will stop misusing the spolier tag!
by BrowserUk (Patriarch) on Dec 11, 2008 at 01:16 UTC

    Since pretty much everything I want to hide until the reader chooses to view it is code, a "hidden" attribute on the code tag, that only revealed the code within its block, when the existing download link is clicked--in exactly the way that happens now--would be one way to go.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Never go by 'pretty much everything'. It is either everything, and you can rely on it, and you will never want to extend it, or it is not, and you need to specify it separately.

      I'd kinda assumed the <readmore> tags did this already, but I haven't actually ever played with them.

        Readmore tags only hide the text when the post is not the main one you are looking at. If you drill down to the post then the Readmore tags are automatically expanded.

        Elda Taluta; Sarks Sark; Ark Arks