2012-05-27, 11:01 AM
2012-05-27, 11:02 AM
2012-05-27, 11:02 AM
Take a look here:
http://mods.mybb.com/view-resource/spoiler-tag
Edit:
@vern sorry didn't saw your post
http://mods.mybb.com/view-resource/spoiler-tag
Edit:
@vern sorry didn't saw your post
2012-05-27, 11:08 AM
it show button for spoiler
http://gyazo.com/d05bb176a2bec6aaeb9909070312750f
i want show text instead button
http://gyazo.com/d05bb176a2bec6aaeb9909070312750f
i want show text instead button
2012-05-27, 11:10 AM
(2012-05-27, 11:08 AM)amanta Wrote: [ -> ]it show button for spoiler
http://gyazo.com/d05bb176a2bec6aaeb9909070312750f
i want show text instead button
Try second link which i posted.
http://mods.mybb.com/view-resource/spoiler-tag
2012-05-27, 11:15 AM
(2012-05-27, 11:10 AM)JovanJ. Wrote: [ -> ](2012-05-27, 11:08 AM)amanta Wrote: [ -> ]it show button for spoiler
http://gyazo.com/d05bb176a2bec6aaeb9909070312750f
i want show text instead button
Try second link which i posted.
same thing in your
http://mods.mybb.com/view-resource/spoiler-tag
2012-05-27, 04:35 PM
Try adding a MyCode such as the follwoing:
Pattern
Replacement
Pattern
\[spoiler\](.*?)\[/spoiler\]
Replacement
<div><strong>Spoiler:</strong> <input type="button" value="Show" 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="quotecontent"><div style="display: none;">$1</div></div>
2012-05-28, 09:01 AM
use my tut http://community.mybb.com/thread-119639.html