Page 1 of 1

How to make a "spoiler tag" ?

Posted: 04.10.2006, 07:24
by Fightspit
I just want to know if it is avalable and how to use it in the forum ?

Like this:
http://www.thescripters.com/forum/viewtopic.php?t=18

Posted: 04.10.2006, 08:45
by Dracontes
You could always set the font colour to black and have people who would like to read the text to highlight it, such as below:

-->It wouldn't be too different from having [spoiler]text[/spoiler] IMHO and it's an already available feature.

Posted: 04.10.2006, 10:41
by Fightspit
Ok but I try it:
[spoiler]Something[/spoiler]

It doesn't work :?

->> Of course, when I write in black with a black font, it work 8)

Posted: 04.10.2006, 11:16
by selden
Sorry, as best I can tell, phpbb doesn't support spoilers unless a "mod" is applied, which is unlikely to happen on the Celestia Forum.

Black letters are invisible only if you are using the Solaris board style which uses white letters on a black background. I use Subsilver which uses black letters on a light-grey background.

Posted: 04.10.2006, 21:47
by rthorvald
Fightspit wrote:Ok but I try it:[spoiler]Something[/spoiler]


... What??s wrong with ROT-13?
There can??t be that many things you don??t want to spoil for us in Celestia - after all... i can??t really see myself going, OMG! I saw Fightspit??s new texture before downloading it! Oh no!

;-)

Save this code in a plain text file named "rot13.html" and open it in your browser. Then you can code/decode spoilers to your heart??s content:

Code: Select all

<HTML><HEAD><TITLE>ROT-13 Converter</TITLE></HEAD>
<BODY BGCOLOR="#eeeeee">
<SCRIPT LANGUAGE="JavaScript"><!--
var coding = 'ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMabcdefghijklmnopqrstuvwxyzabcdefghijklm';
function rot13() {
var value = document.myForm.myText.value;
for (var text = '',i=0;i<value.length;i++) {
character = value.charAt(i);
position = coding.indexOf(character);
if (position > -1)
character = coding.charAt(position + 13);
text += character;
}
document.myForm.myText.value = text;
}
//-->
</SCRIPT>
<center><BR><BR><span style="font-family:verdana,sans-serif;font-size:12px;font-weight:bold;">Convert text to and from ROT13:</span><BR>
<FORM NAME="myForm">
<TEXTAREA COLS="160" ROWS="25" NAME="myText" style="width:500px;height:400px;color:#000000;background:#ffffff;border:1px#cccccc solid;font-family:verdana,sans-serif;font-size:11px;"></TEXTAREA>
<BR><br>
<INPUT TYPE="BUTTON" onClick="rot13()" VALUE="Convert" style="font-family:verdana,sans-serif;font-size:11px;font-weight:bold;color:blue;background:#eeeeee;">
</FORM></center></BODY></HTML>



- rthorvald

Posted: 05.10.2006, 07:11
by Fightspit
rthorvald wrote:There can??t be that many things you don??t want to spoil for us in Celestia - after all... i can??t really see myself going, OMG! I saw Fightspit??s new texture before downloading it! Oh no!

;-)

- rthorvald


Don't worry :wink: , I just disvored in other forums the spoiler tag and I won't use it several time without a particular reason :wink: .
I think it is a "good" idea for some post where someone want to say something "crude" (to anybody why not :roll:). So people don't have to read what he wrote.

Posted: 05.10.2006, 14:23
by Dollan
Don't worry :wink: , I just disvored in other forums the spoiler tag and I won't use it several time without a particular reason :wink: .
I think it is a "good" idea for some post where someone want to say something "crude" (to anybody why not :roll:). So people don't have to read what he wrote.


It would seem to me that either PM's or emails would be better if you want to convey a message that others would regard as being crude or rude. Why bothering all that laundry in public if you don't have to?

...John...