![]() |
Need some help with coding
Well I kinda need help making a special tag. You see I'm trying to make a tag for spoilers so when you type [spoil][/spoil] is displays something lie this:
****Spoiler**** ------------------------------------ The text or spoil goes here 7 lines down ****End Spoiler**** ------------------------------------ That's what I'd like if it's possible Im sure it's difficult to set up so your help would be greatly appreciated. |
1 Attachment(s)
Code:
<br> |
Heres my go at it
Code Tag: spoil Code Replacement: <b>****Spoiler****<br> -----------------------------------</b><br><br><br><br><br><br><br><br> {param}<br><br><br><br><br><br><br> <b>****End Spoiler****<br> -----------------------------------</b> Code Example: [spoil]Well this here is a spoiler[/spoil] Code Explanation: This tag creates your spoiler inbetween specified tags and lots of spaces. Hope it works heh, i posted just after him, oh well, ya i like the highlight idea for this type of thing more. |
Hehe, same thing (I realize we posted at about the same time ;)).
|
Quote:
Edit that doesn't work the one you gave me. |
uh..It did when I tested on my forums...
Anyway, my code is: <center><table border="0" align="center" width="500" cellpadding="3" cellspacing="1"> <tr><td><font size="1" color=#ff0000><b>Spoiler, highlight to read:</b></font></td></tr> <tr><td style="BORDER: #000000 1px solid; FONT-SIZE: 11px; COLOR: 000000; FONT-FAMILY: Verdana,Arial; BACKGROUND-COLOR: #000000;">{param}</td></tr></table></center> |
I got both to work. I had yes checked for the option thingy. Thanks again.
|
All times are GMT. The time now is 03:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|