![]() |
Hidden content mod?
Does anyone know if there is a simple, basic modification which would allow a user making a post to hide content within their post to all other users? I've seen this on another forum, and the content is hidden until you click a button in the post, which reveals the text placed within. I know there's a hidden content mod here that hides blocks in posts depending on how many posts the user has made, but that's not what I'm looking for. Thanks in advance!
--------------- Added [DATE]1207278592[/DATE] at [TIME]1207278592[/TIME] --------------- Hi again, I found a suitable modification for a hidden block option in vB3.6.8, which is placed in the BB code, but is uses a form button, and I was wondering if it would be possible to alter the code so that I could use my own image? Can anyone help? The "mod" is unsupported. HTML Code:
<div id="spoiler"><div><input type="button" value="Show Spoiler!" style="width:150px;font-size:10px;margin:10px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = ''; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = 'none'; this.innerText = ''; this.value = 'Hide Spoiler!'; } else { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = ''; this.innerText = ''; this.value = 'Show Spoiler!'; }" /> |
All times are GMT. The time now is 02:41 PM. |
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:
|