PDA

View Full Version : Bad Spoiler Text! Bad!


Kikuichimonji
04-18-2005, 11:39 PM
Ive noticed that the color 111111 (spoiler text color) shows up as darker while you're posting/editing a post. It's a lot harder to resist temptation to look when it's more visible. Is there an easy fix to this problem?

Skyshot
04-19-2005, 03:54 PM
Don't use COLOR=Black as it will still show up on some peoples' monitors. Also don't quote text containing a spoiler as the black text shows up much more easily on the grey background used for quotes. If you quote such text, remove the spoiler before submitting.
That'll do it. Aside from that, you may have to get an admin to give you a number for the quote box color. Kieru's the template monkey, is that his area then?

Kikuichimonji
04-19-2005, 06:41 PM
Ah. I just always figured it happened because of a forum problem, not because people were too lazy to type in 111111

Mike McC
04-19-2005, 07:59 PM
The background color on the previous posts when you're on the 'post reply' page is lighter. They're the same color as the user info areas (#222222, I believe), as opposed to the normal post text area (#111111). The easy way to avoid this is to use the quick reply, or just don't scroll down when you're making a post.

shiney
04-19-2005, 08:49 PM
One could go the extra mile and use an in-betweenish colour like #191919. Then it would be virtually invisible on both fronts. Not quite, but close.

RedScar
04-28-2005, 06:29 PM
Ahhh I was wondering what the number for quoteing is.

Also, almost everytime you see a spolier or other item. People use black. not the111111!

on the other hand. Now you see me! Now you don't! it works.

Michael Morris
05-01-2005, 02:46 AM
I use this trick on EN World and on the WotC site. If Pierre's inclined he's welcome to add this here (I originally got the idea off vbulletin.com)

sblock tag
The sblock (short for "spoiler block") tag is meant for large spoilers. It puts the contents of the block in a layer that is hidden by default. It becomes revealed when the reader clicks "show"

Here's an example http://www.enworld.org/showpost.php?p=2199641&postcount=24


To add this effect go to the bbcode manager in the admincp and click add new bbcode. Name the tag whatever you want, then enter the following code.

<div style="margin:5px 20px 20px 20px">
<div class="smallfont" style="margin-bottom:2px"><b>Spoiler:</b> <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName(' div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }"></div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div style="display: none;">
{param}
</div>
</div>
</div>