Spoiler tag


Recommended Posts

Would be kinda nice if you had a spoiler tag in the forum so people easier can stay away of possible spoilers. I made one at another forum I read/write in and it seems to work quite ok there. I had no access to the forum code when I did this, so I had to put it in the forum style code that I had available from the forum config (was a mod there). I'm sure it could be better coded, so don't shoot me :)

How it looks in action you can see here: http://www.alltomtv.se/forum/showthread.ph...6075#post996075

<DIV onmouseup="this.className='base'" class=base onmousedown="this.className='base2'"><EM class="spoilertext"></B><FONT size=+0>Spoiler</FONT> (Click and hold to read):</EM><BR>the spoiler text goes in here</DIV>

style looks something like this.

.base {

border: 1px;

background: #eeeeee;

border-style: dashed;

border-color: #cccccc;

width: 60%;

padding-top: 0;

padding: 10px;

margin: 1em;

color: #eeeeee;

cursor: help;

}

.spoilertext {

color: #000000;

}

.base2 {

border: 1px;

border-color: #cccccc;

background: #eeeeee;

border-style: solid;

width: 60%;

padding-top: 0;

padding: 10px;

margin: 1em;

color: #000000;

cursor: default;

}

Link to comment
Share on other sites

should be in the thread title, IMO. If it's a spoiler post, then the quote tag should be used and a white font chosen

See?

Yeah, but a thread that starts out without indending to be a spoiler, wouldn't have that though.

Adding a button that adds

in the editbox, to the formatting section would make it kinda easy :)

Link to comment
Share on other sites

Highlight above post.

That's sneaky and I've seen that technique used before on spoiler sites... however, you just know you're gonna get some really lame noobies bitching --> "wtf man, you didn't post jack... are you retarded or something? u = t3h suK!"

:laugh:

Link to comment
Share on other sites

i always thought if the poster didnt prefix the title then the media forum mod usually did anyways?

i dont think we need to load the admins up with any unecessary work at the moment :/

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.