• Log in or sign up for an account here: https://www.sythe.org/login

Spoiler tags

Status
Not open for further replies.

Tyro

Grand Master

Secret Asian Man
Joined
Nov 23, 2009
Sythe Gold
0
Messages
2,297
Sythe Awards 2009 Winner
I think Sythe should implement [spoiler] tags.

[spoiler=You write the title here]
And you write whatever you'd like inside the box here. They're exactly as easy to write as quote tags.
[/spoiler]
​
As an example, part of the Rules page might be presented this way.

I've edited the typical spoiler code to allow custom titles, adjust to Sythe's color scheme, etc.


<div style="margin: 5px;">
<font color="white"><b>{option}</b></font></color> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><font color="white"> {param} </font></div>
</div>
​

Feel free to suggest any cosmetic changes and I'll try 'em out.
 
Wait, do you not have an Archer rank?
Doge
Smashing
Why is there BACON in the SOAP!?
Literally nothing
I saw Matthew
Live Free or Die
Cool Kid
Poképedia
PHP Shit Show 2k26
SythePro Subscriber
Hrm we used to have spoiler tags but people found ways to exploit them and cause trouble... I'm not sure if we'd want to add the spoiler tag back given what happened last time.
 
Heidy
Sythe's 10th Anniversary
I would love this because I am an active member of the GFX section and it would help keep our threads organized and cleaner.
 
Sythe Awards 2011 Winner
Always wondered what happened to dem tags, I'd like to see them back.
 
Wait, do you not have an Archer rank?
Doge
Smashing
Why is there BACON in the SOAP!?
Literally nothing
I saw Matthew
Live Free or Die
Cool Kid
Poképedia
PHP Shit Show 2k26
SythePro Subscriber
It was malicious. People were sticking redirect tags in them and causing redirection off the site. It was a mess.
 
If there was some way to work around the problem, then I would definitely support the addition. I think they would benefit a lot of people in the GFX section, and help keep other threads organized as well.
 
Due to the redirections and possible hacking/java drive-by's, I am not in support of this unless that "kink" can be worked out.
 
Two Factor Authentication User
Sythe Awards 2011 Winner
Cook
Cool Kid
Former OMM
RsProd
Sythe Awards 2012 Winner
Village Drunk
It's not like's a frame or that spoiler allows HTML does it?

I support, I'd like it.
 
It was malicious. People were sticking redirect tags in them and causing redirection off the site. It was a mess.

This statement changed my mind from when i read the thread title because i supported it at first.

I guess if it's malicious, no support :/
 
Two Factor Authentication User
Gohan has AIDS
I'd like it, but also more details on what the exploit involved. Was it made so that clicking the Show button sent you to another site?
 
Lumpy Space Princess
Le
Pokémon Trainer
Two Factor Authentication User
If we can work out a way to work around the exploits, it will be re-added :3
 
Status
Not open for further replies.
duelarena.gg
Back
Top