Advertisement
Guest User

Untitled

a guest
Oct 9th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. {REGEXP=/.+/;optional;defaultValue=Spoiler}
  2.  
  3. --------------------------------------------------------------------------------
  4. HTML replacement:
  5. <span class="spoiler">
  6. <input type="button" Value="{REGEXP}" class="button2" style="font-size:10px; margin: 0px 5px 0px 5px" onclick="
  7. if(this.parentNode.getElementsByTagName('div')[0].style.display!='')
  8. this.parentNode.getElementsByTagName('div')[0].style.display='';
  9. else
  10. this.parentNode.getElementsByTagName('div')[0].style.display='none';
  11. "/>
  12.  
  13. <div class="spoilercontent" style="margin: 3px 0px 0px 0px; padding: 5px; border-width: 1px; border-style:dotted; display: none;">
  14. {TEXT2}
  15. </div>
  16. </span>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement