Spoiler usually use inside forum to hide some text or image. The text or image will be shown if the spoiler button is clicked.
This is the sample of spoiler button inside blog.
Spoiler sample :
How to make spoiler:
Copy this script and paste it into your new post editor.
<div style="margin: 5px 20px 20px;"><div class="smallfont" style="margin-bottom: 2px;">Your Title : <input value="Show" style="margin: 0px; padding: 0px; width: 60px; font-size: 10px;" 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'; }" type="button"> </div><br /><div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;background: #f1f1f1 none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(127, 69, 0); line-height: 1.5em;"><div style="display:none;">Your Text or Image Link<br /></div></div></div>
Copy below script to insert image into spoiler
<div style="margin: 5px 20px 20px;"><div class="smallfont" style="margin-bottom: 2px;">Your Title : <input value="Show" style="margin: 0px; padding: 0px; width: 60px; font-size: 10px;" 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'; }" type="button"> </div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset; background-color: rgb(255, 255, 255); background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 50%; -moz-background-size: auto auto; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(125, 125, 125); line-height: 1.5em;"><div style="display: none;">
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizP6HYsop0gpi1Vfeej861_6sISVRkM4AKt50ZVsiAqmt9xLLroCvus5mkOLglNcCT_WbU8zYS2I2gGEB78SErPYMqOhOlDEtun3458dUQLNuQj0ejNU9SKJ4SiT6iexp6oWMccs_M2Io/s320/BLOGGER.gif"><img style="margin: 0pt 20px 20px 0pt; cursor: pointer; width: 128px; height: 128px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizP6HYsop0gpi1Vfeej861_6sISVRkM4AKt50ZVsiAqmt9xLLroCvus5mkOLglNcCT_WbU8zYS2I2gGEB78SErPYMqOhOlDEtun3458dUQLNuQj0ejNU9SKJ4SiT6iexp6oWMccs_M2Io/s320/BLOGGER.gif" alt="spoiler" title="spoilers" border="0" /></a>
</div></div></div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset; background-color: rgb(255, 255, 255); background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 50%; -moz-background-size: auto auto; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(125, 125, 125); line-height: 1.5em;"><div style="display: none;">
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizP6HYsop0gpi1Vfeej861_6sISVRkM4AKt50ZVsiAqmt9xLLroCvus5mkOLglNcCT_WbU8zYS2I2gGEB78SErPYMqOhOlDEtun3458dUQLNuQj0ejNU9SKJ4SiT6iexp6oWMccs_M2Io/s320/BLOGGER.gif"><img style="margin: 0pt 20px 20px 0pt; cursor: pointer; width: 128px; height: 128px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizP6HYsop0gpi1Vfeej861_6sISVRkM4AKt50ZVsiAqmt9xLLroCvus5mkOLglNcCT_WbU8zYS2I2gGEB78SErPYMqOhOlDEtun3458dUQLNuQj0ejNU9SKJ4SiT6iexp6oWMccs_M2Io/s320/BLOGGER.gif" alt="spoiler" title="spoilers" border="0" /></a>
</div></div></div>
Image Spoiler :
Enjoy the blog spoiler
I really was amazed to check out the stuff here! Thanks!
ReplyDeleteLease Templates
nice spoiler code
ReplyDeletevery nice share...
yeah.. I really need to use spoiler on my blogspot blog...
ReplyDeletewow, complex code
ReplyDeleteI really was amazed to check out the stuff here! Thanks!
ReplyDeleteMantap gan tutorialnya ^^
ReplyDeletebakal berguna di website aq neh.. tq gan
ReplyDeletehow to make spoiler on blogspot...amazing post, I think that's are helpful for blogging post.
ReplyDeletehttp://www.computervalleyusa.com/tv-media/audio-electronics/boomboxes
This is a very interesting article to read. Thank you for giving very good information. Nice post.
ReplyDeletebigo live is Nice app. connect friends and relatives.
Download the application
BIGO LIVE PC CONNECTOR
BIGO LIVE PC FREE DOWNLOAD
BIGO CONNECTOR
BIGO PC DOWNLOAD
BIGO LIVE FOR WINDOWS 7
BIGO LIVE PC CONNECTOR
BIGO LIVE FOR PC