PDA

View Full Version : [Release] Spoiler Code


RandyP3
10-25-2003, 07:56 AM
My first ever template modification, because of all the spoiler codes out there, non was to my liking - The popup looks ugly to me, and the rest made the colour stand out, while others had to have files modification. I've modified some templates and added a vb code, and *tada* spoiler codes, definitely to your liking if you have the same taste as me ;)


Add:


.spoiler {color: {firstaltcolor}; background: {firstaltcolor}};

to the template Headinclude, just right before </style>

Add the vb code next. For instructions on how to add the vbcode, click on the attachment. Screen captures are also attached.

however, one down side of this is that your alternating tables must be of the same colour, if not, the tags on one table will look imbedded onto the forum, but on the other colour it'll show up oddly.

[for easy copying and pasting]

vB code tag: spoiler
vB code replacement: <b>Spoiler:</b> <font class=spoiler>{param}</font>
vB code example: Spoiler text
vB code explanation: [anything you want]
Use {options}?: No

Gio Takahashi
10-25-2003, 11:25 PM
A Very easy install, worked like a charm, good job.

However, I have a complaint, your instruction isn't clear at all, you need to mention the template name as Head_Include instead of Head, I had no clue what you are talking about and I had to take a guess, Also mention to ADD the VB code.

RandyP3
10-26-2003, 10:22 AM
Oops, I should've mentioned it somewhere. :$ Edited.