PDA

View Full Version : How do I make this into a vB Code?


ogden2k
06-03-2003, 11:57 AM
02-20-02 at 06:11 PM DemiNeo0101 said this in Post #11 (https://vborg.vbsupport.ru/showthread.php?postid=221932#post221932)
You can also do this:

Add a new vb code-
In first box put: spoiler
In the second box put:
<font color="#FFFF66"><b>Warning</font> <font color="FFFFFF"> Spoiler Ahead!</b> :</font><font class=spoiler>{param}</font>
in description put:
The [spoiler] tag allows you to place text in your message that is unreadable, unless someone highlites it. This makes viewing the text a deliberate effort. This is for posting messages about movies or other things where you might not wish to give away plot points to those that haven't seen it yet.

Turn {Options} off, press ok.

Now open style, go to modify, fonts/colors/properties

and in the header instert, there should be a code like this:
<meta http-equiv="MSThemeCompatible" content="Yes">
<style type="text/css">

add this
.spoiler {color: black; background: black} directly after it, to make it look like this:
<meta http-equiv="MSThemeCompatible" content="Yes">
<style type="text/css">
.spoiler {color: black; background: black}
BODY {

I find that to be alot easyer :)

I want to add the text here as a clickable button.

Thanks for the help!

WEForums
06-03-2003, 12:53 PM
You can do this in the vbcode_buttons template...unless the JS file has to be edited. Maybe there will be errors or something without it.

ogden2k
06-03-2003, 01:19 PM
Ok, I got the button in, and it works. But IE says there is an error:

Line: 49
Char: 2
Error: 'spoiler_code' is undefined
Code: 0
URL: newthread, newreply
<input type="button" class="bginput" value=" Spoiler " title="Hide your spoiler" onclick="vbcode(this.form,'SPOILER','')" onmouseover="stat('spoiler')"
>

ogden2k
06-04-2003, 08:08 PM
Anyone???

ogden2k
06-05-2003, 07:49 PM
?????????

ogden2k
06-09-2003, 01:07 PM
No body wants to help??