Home » » Cara Membuat Spoiler Didalam Postingan Blog

Cara Membuat Spoiler Didalam Postingan Blog

Written By Kompi-Ware on January 17, 2012 | 12:50 PM

Membuat Spoiler dalam postingan blog sangat berguna sekali untuk mempersingkat postingan blog kita.



Langsung aja kita praktekin caranya gan:

  • Login --------> Dashboard -------> New Post ---------> Pilih posting dengan mode HTML (Edit HTML).

Lalu Copy+Paste script ini

<div><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;"><i><span style="font-weight: bold;">KLIK HERE (ATAU SESUAI KEINGINAN ANDA)</span></i><input value="Show" style="margin: 0px; padding: 0px; width: 60px; " 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="border: 1px inset ; margin: 0px; padding: 6px;">
<div style="display: none;">

<strong>KETIKAN ISI POSTINGAN ANDA DISINI</strong>

</div></div></div></div>


SEMOGA BERMANFAAT
Share this article :

0 comments:

Post a Comment

 
Support : Privacy Policy | Disclaimer | Sitemap
Copyright © 2013. Kompiware - All Rights Reserved
Twitter Facebook Feedburner Google +1 youtube flickr
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger