![]() |
Code updated, have all options set to NO!
Example in a thread http://forum.vbdiscussions.com/showthread.php?t=7701 http://forum.vbdiscussions.com/showthread.php?t=8262 http://www.urbanreply.com/showthread.php?t=3272 Works perfect! Just make sure any options are set to no. |
The last URL you gave still has the same problem, when you click the button to show spoiler, shouldnt the text change to hide spoiler? instead of still saying show spoiler :confused:
|
It works fine in FF.
|
All you've done is copy this hack from MyBB
http://community.mybb.com/thread-703...hlight=spoiler Compare the main code and see. I used that hack before when I ran MyBB 1.4, so spotted this as looking the same right off. You've made a few changes that's all to suit vbulletin, but the main Spoiler Code used is exactly the same. Your code: Code:
<input type="button" value="$1" style="width:auto;font-size:12px;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 = '$3'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = '$1'; }" /> Code:
<input type="button" value="Show Spoiler" style="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'; }"> |
I didn't copy it from MyBB, (i have no reason to go over there either) i don't copy things. If i we're to do that why would i even bother posting my work. Why you accusing me of such things? If thats what you think than idgaf anyways. I didn't copy it from anyone, made it long ago on my gaming site and decided to post it.
|
installed
thanxxx |
Worker perfect thanks a lot for the code help.
|
And how do I change the background of the Spoiler? That is, change the background where writing the occult? Thanks!
|
Quote:
I would assume this mod is no longer supported. RIP ChopSuey |
nice.. thank you
|
All times are GMT. The time now is 07:03 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:
|