Spoiler test!
---
<div><input value="Show" onclick="if(this.parentNode.getElementsByTagName('div')[0].style.display != ''){this.parentNode.getElementsByTagName('div')[0].style.display = '';this.value = 'Hide Content';}else{this.parentNode.getElementsByTagName('div')[0].style.display = 'none'; this.value = 'Show Content';}" type="button" /><div style="display: none;">HIDE CONTENT GOES HERE</div></div>I took it from here - https://bloggerunlocker.blogspot.com/2015/03/the-spoiler-has-function-to-hide-and.html
Great stuff! Finally, I can do it now. Cause I don't want my blog to be "too" abstract.

Comments
Post a Comment