Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Oct 2002, 00:43
turdboy's Avatar
turdboy turdboy is offline
 
Join Date: Aug 2002
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.
Reply With Quote
  #2  
Old 01 Oct 2002, 00:59
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Real name: Austin ;)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you want it that simple... I do it like this, where the user has to highlight the text to see it (idea from the old EthosHQ). I could give you the code if you want.
Attached Images
File Type: jpg spoiltest.jpg (11.8 KB, 21 views)
Reply With Quote
  #3  
Old 01 Oct 2002, 01:01
Camellia
Guest
 
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.
Reply With Quote
  #4  
Old 01 Oct 2002, 01:03
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Real name: Austin ;)
Hehe, same thing (I realize we posted at about the same time ).
Reply With Quote
  #5  
Old 01 Oct 2002, 03:08
turdboy's Avatar
turdboy turdboy is offline
 
Join Date: Aug 2002
If you want it that simple... I do it like this, where the user has to highlight the text to see it (idea from the old EthosHQ). I could give you the code if you want.
Yea give me that code to please.

Edit that doesn't work the one you gave me.
Reply With Quote
  #6  
Old 01 Oct 2002, 22:26
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Real name: Austin ;)
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>
Reply With Quote
  #7  
Old 02 Oct 2002, 01:29
turdboy's Avatar
turdboy turdboy is offline
 
Join Date: Aug 2002
I got both to work. I had yes checked for the option thingy. Thanks again.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:11.

Layout Options | Width: Wide Color: