How to make a "spoiler tag" ?

The only place for all Non Celestia Discussion/Stuff
Topic author
Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 6 months

How to make a "spoiler tag" ?

Post #1by Fightspit » 04.10.2006, 07:24

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
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

Avatar
Dracontes
Posts: 24
Joined: 07.02.2006
Age: 41
With us: 18 years 9 months
Location: Algarve, Portugal
Contact:

Post #2by Dracontes » 04.10.2006, 08:45

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.
Celestia: v1.4.1
OS: Win XP Home Ed. 2002 v5.1.2600 SP 2
Mobo: ASUS P5VDC-X
CPU: Intel Pentium 4 3.40GHz LGA 755
HD: ST32008AS 186GB 7200rpm SATA
RAM: DDR 1.00GB PC 400
GPU: 2×ATI Radeon 9250 SE 128MB DDR SGRAM/SDRAM
OpenGL: v6.14.10.5819

Topic author
Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 6 months

Post #3by Fightspit » 04.10.2006, 10:41

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)
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #4by selden » 04.10.2006, 11:16

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.
Selden

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #5by rthorvald » 04.10.2006, 21:47

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
Image

Topic author
Fightspit
Posts: 510
Joined: 15.05.2005
With us: 19 years 6 months

Post #6by Fightspit » 05.10.2006, 07:11

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.
Motherboard: Intel D975XBX2
Processor: Intel Core2 E6700 @ 3Ghz
Ram: Corsair 2 x 1GB DDR2 PC6400
Video Card: Nvidia GeForce 8800 GTX 768MB GDDR3 384 bits PCI-Express 16x
HDD: Western Digital Raptor 150GB 10000 rpm
OS: Windows Vista Business 32 bits

Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 20 years 11 months
Location: Havre, Montana

Post #7by Dollan » 05.10.2006, 14:23

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...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan


Return to “Petit Bistro Entropy”