Horror.com Forums - Talk about horror.

Horror.com Forums - Talk about horror. (https://www.horror.com/forum/index.php)
-   Site Suggestions/Questions (https://www.horror.com/forum/forumdisplay.php?f=21)
-   -   Site Suggestion: Spoiler Tags (https://www.horror.com/forum/showthread.php?t=53061)

p1zl3 11-16-2009 02:00 PM

Site Suggestion: Spoiler Tags
 
I think, since we discuss films\games\books\TV shows and entertainment of the like, we should incorporate "spoiler-tags" into our BB-codes. That way, when a story, plot, ending, etc is revealed it can be masked and save the potential thread viewers from sullying the experience....

Code:

Code:

<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px"><b>Spoiler</b> for <i>{option}</i>: <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';                this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }">
</div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div style="display: none;">
{param}
</div>
</div>
</div>

Usage:
http://img3.zoints.com/screens/s1.png


Spoiler in its closed state:
http://img3.zoints.com/screens/s2.png


Spoiler when open:
http://img3.zoints.com/screens/s3.png

Link for more info:
http://www.theadminzone.com/forums/s...ad.php?t=24586

p1zl3 11-17-2009 10:46 AM

No opinions???

zwoti 11-17-2009 01:18 PM

sounds good, you'll need to get in touch with horror for this.




good luck

p1zl3 11-18-2009 08:36 PM

Cool, ok.... I'll do that! Thanks! :)


All times are GMT -8. The time now is 09:29 AM.