Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {REGEXP=/.+/;optional;defaultValue=Spoiler}
- --------------------------------------------------------------------------------
- HTML replacement:
- <span class="spoiler">
- <input type="button" Value="{REGEXP}" class="button2" style="font-size:10px; margin: 0px 5px 0px 5px" onclick="
- if(this.parentNode.getElementsByTagName('div')[0].style.display!='')
- this.parentNode.getElementsByTagName('div')[0].style.display='';
- else
- this.parentNode.getElementsByTagName('div')[0].style.display='none';
- "/>
- <div class="spoilercontent" style="margin: 3px 0px 0px 0px; padding: 5px; border-width: 1px; border-style:dotted; display: none;">
- {TEXT2}
- </div>
- </span>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement