Spoiler Tags

Discussion in 'Feedback' started by Lucien21, Feb 3, 2008.

  1.  
    Lucien21

    Lucien21 New Member

    Joined:
    Oct 16, 2006
    Messages:
    607
    Do we have or is it possible to add a spoiler function into the tags.

    Changing the text colour doesn't work that well.

    With a real spoiler tag we could discuss things without fear of spoiling it for others.

    I got the code from another site that uses the same board so it shouldn't be that hard. BB Code - Spoiler Tag - vBulletin FAQ Forums

     
  2.  
    Rane Longfox

    Rane Longfox Red Rane

    Joined:
    Jul 30, 2004
    Messages:
    2,662
    If you put it in a quote box and then change the colour, it works very well :)

    But spoiler tags should be very easy to implement, I've seen them on many other boards...
     
  3.  
    Overread

    Overread Direwolf of the chrons

    Joined:
    Aug 22, 2007
    Messages:
    2,414
    we sort of do
    [ spoiler ] [/spoiler]

    but its only a colour change - which can still be read (LCD screen)
    and you have to know its there to highlight it - a change would be nice
     
  4.  
    Omega

    Omega New Member

    Joined:
    Feb 12, 2003
    Messages:
    214
    You will probably find it can be done without using javascript.
     
  5.  
    Dave

    Dave Wherever I Am, I'm There Staff Member

    Joined:
    Jan 5, 2001
    Messages:
    14,213
    It can only be read if you really try hard, which presumably you don't want to.

    I agree about the fact of having to know it's there. I usually add "Spoiler follows" to make it clear. This script was imported from ASciFi, but it did actually say "Spoiler:" there.

    If we had the option of changing the background colour as well as the font colour, maybe something more could be achieved.

    Edit:

    Why not:-

    spoilers follow: {quote}{spoiler}blah blah blah{/spoiler}{/quote}

    If you try that you get:

    spoilers follow:
    You can't read that and it is obvious.
     
    Last edited: Feb 9, 2008
  6.  
    Lenny

    Lenny Press "X" to admire hat

    Joined:
    Jan 11, 2007
    Messages:
    3,755
    There's also a very simple way to do it by changing the text colour, and then highlighting it in the same colour:

    Code:
     
    <table bgcolor="red">
    <tr>
    <td><font color="red" size="2">spoiler</font></td>
    </tr>
    </table>
    
    Basically makes a table with a single cell, the background colour of which is the same as the font colour.
     

Share This Page