Adding "Spoiler" like Kaskus to Blogspot (Show/Hide)
Web Space9:39 PM 4 comments

To adding spoiler like KasKus ( is The Largers Indonesian Community ) in your blog, you can copy and paste this script code to your post at Posting Tab --> New Post --> Edit HTML.

It is for example for Spoiler of KasKus :


About bla..bla.bla..


spoiler Content

This is script/code of spoiler :

<div style="margin: 5px;"><br /> <div class="smallfont" style="margin-bottom: 2px;"><i><span style="font-weight: bold;">About bla..bla.bla.. </span></i><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"/><br /> </div><br /> <div class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px;"><br /> <div style="display: none;"> spoiler content </div></div></div>

You can change the "About bla... bla... bla.." and "Spoiler content" in accordance with what you want

Done! don't forget to comment it :)
In Category :
About The Author Ali Bajwa Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore. Magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Facebook and Twitter

4 comments:

  1. Hi.. This is the perfect blog for anyone who wants to know about this topic. thanks for sharing about spoiler for blogger

    ReplyDelete
  2. you are welcome..:)
    Thanks so much.

    ReplyDelete
  3. But i want to add " a2+b2=c2 in mathematics exp.. as Asqr. What can do i do?
    Also, why we cant put text directly to the table ( in hidden text area"

    ReplyDelete