2013-02-10, 04:42 PM
Pages: 1 2
2013-02-10, 05:11 PM
Try this
Regular expression
\[sp2\](.*?)\[/sp2\]
Replacement
<div style="margin:10px; margin-top:5px; margin-bottom:5px"><div class="quotetitle"><input class="button2 btnlite" type="button" value="Mostrar Spoiler" style="text-align:center;width:115px;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 = 'Esconder Spoiler'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Mostrar Spoiler'; }" /></div><div class="quotecontent"><div style="display: none;">$1</div></div></div>
2013-02-10, 09:04 PM
not working
I wish there is a spoiler in the spoiler again
example:
I write like this
and results like this
remember that I was looking for is not a plugin but MyCode
I wish there is a spoiler in the spoiler again
example:
I write like this
[spoiler]TEST 1[spoiler]TEST 2[spoiler]TEST 3[spoiler]AND SO ON[/spoiler][/spoiler][/spoiler][/spoiler]
and results like this
remember that I was looking for is not a plugin but MyCode
2013-02-10, 11:47 PM
I can make that with that mycode....
2013-02-11, 02:19 AM
Can you make it?
Pages: 1 2