2009-11-19, 05:23 PM
Pages: 1 2
2009-12-12, 11:26 AM
can the spoiler support nested spoiler ?
2009-12-19, 11:52 AM
(2009-12-12, 11:26 AM)kurniawan Wrote: [ -> ]can the spoiler support nested spoiler ?
I don't think so
If you mean, nested quote? Yes.
But, this spoiler code without title
for using title, add second MyCode and use this code
for Regular Expression
\[spoiler=(.*?)\](.*?)\[/spoiler\]
and for Replacement
<tag><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px"><b>$1</b> <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;">
$2
</div>
</div>
</div>
</tag>
Enjoy..
2009-12-19, 02:35 PM
@FBI what i need is
[Spoiler=this is one]
[spoiler=nested two]
[spoiler=nested ....]
......
......
[/spoiler]
[/spolier]
[/spoiler]
2009-12-28, 07:06 PM
I really like this mycode.
But is it possible to get it with a "title" like:
http://community.mybboard.net/thread-52615.html
I like the design/look of this one.
but misses the possibility of a title!
But is it possible to get it with a "title" like:
http://community.mybboard.net/thread-52615.html
I like the design/look of this one.
but misses the possibility of a title!
2010-02-02, 09:48 PM
nice thanks.
2010-03-12, 02:26 PM
where shuold i do this ?
2012-06-23, 05:01 PM
The link is broken, your site loaded so slow that I couldn't look for another area where a spoiler was used..
2012-08-23, 06:53 PM
thanks for the spoiler code
2012-09-18, 06:52 PM
This looks awesome, thanks for this Op
Pages: 1 2