Cara Membuat Spoiler Di Blogger
- Login ke blogger
- klik add new post (buat artikel baru) kemudian isi artikel teman.
<div style="margin-top: 5px; text-align: center;"> <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 style="border: 1px inset; margin: 0px; padding: 5px;"> <div style="display: none;">Masukkan isi SPOILER Di sini</div> </div>
Selamat mencoba !
0 comments:
Post a Comment