1. A community of fans, aspiring writers, and published novelists, we are the world's largest - and friendliest! - science fiction and fantasy forums.

    Registration is free, and we regularly give away free books and DVDs.

    So why not join now and meet people with similar interests and tastes in books, movies, and TV?

    Log in with Facebook

    Log in with Twitter

    Dismiss Notice

Spoiler Tags

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

  1.  
    Lucien21

    Lucien21 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,648
    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,745
    Location:
    Hunting in the woods
    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:
    212
    Location:
    Stafford, England
    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:
    15,260
    Location:
    Way on Down South, London Town
    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,908
    Location:
    Manchester
    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.
     
Loading...

Share This Page