Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: What does "render spoiler tags as" mean?

by sasdrtx (Friar)
on Sep 13, 2008 at 16:55 UTC ( #711139=note: print w/ replies, xml ) Need Help??


in reply to Re: What does "render spoiler tags as" mean?
in thread What does "render spoiler tags as" mean?

I think LesleyB's point is that the option should be actually documented on that page, rather than just blurted out with no explanation.


sas


Comment on Re^2: What does "render spoiler tags as" mean?
Re^3: What does "render spoiler tags as" mean?
by atcroft (Monsignor) on Sep 13, 2008 at 23:01 UTC

    sasdrtx is correct-the code that appears in that page reads:

    <p> <i>render spoiler tags as</i> </p>

    It might be helpful on that page to include something about what spoiler tags are for, and how the different types are displayed. And example might be something along the lines of the following.


    Render spoiler tags as: "Spoiler tags" are a set of tags designed to conceal a section of content until the reader decides to view it. This might be used, for example, when someone has posted a challenge with their initial solution. Because of differences in possible themes and settings, the <spoiler></spoiler> tags are provided.

    The content within a set of spoiler tags may be displayed in several different ways. The current options available are "(default)", "link", "div", "span", "table", and "reveal". The "link" option replaces the section in question with links to reveal the particular section, or all spoilers that may be present. (The "link" option appears to be the current "(default)" option.) The "div" and "span" options wrap the section in div and span tags (respectively) of class "spoiler", which can be made to display as desired by editing the user's CSS. (The default CSS appears to be to set the foreground and background colors both to white the same.) "table" places the content in a table, with the inner td tag also of class "spoiler". The "reveal" option actually wraps the section in div tags of class "spoiled".

    Using the above spoiler example (copied from ikegami's earlier response), the sections would be displayed as follows:

    link: <Reveal this spoiler or all in this thread>
    div:
    This is a spoiler.
    span: This is a spoiler.
    table:
    This is a spoiler.
    reveal:
    This is a spoiler.

    HTH.

    Update (2008-09-13): Tried when logged out and found out the display was of fore and background colors the same, but not necessarily white. Updated link examples to refer to this node.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://711139]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2014-11-24 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls