Cara Membuat "SPOILER" pada postingan blog Lihat caranya dibawah ini!
<div><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;"><input value="Ayooo!" 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 = 'Tutup'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Buka'; }" type="button"/>
</div>
<div class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px;">
<div style="display: none;">
Tulisan Warna hijau bisa kalian ganti sesuka kalian ...
Contoh :
<div><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;"><input value="Ayooo!" 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 = 'Tutup'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Buka'; }" type="button"/>
</div>
<div class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px;">
<div style="display: none;">
Gue Keren Kan???
</div></div></div></div>Tulisan Warna hijau bisa kalian ganti sesuka kalian ...
Contoh :
Cara membuat spoiler di Postingan
4/
5
Oleh
Han