Author
Hi I'm a sixteen years old girl from Indonesia. Stalk me here.
Tutorials
All the list of tutorials, please click here. Thank you.
Credit
Tempelate by yours trully. Do not open my page source. I will respect you if you're respect me.

Spoiler Button // Tuesday, November 8, 2011





Tutorial ini direquest oleh:



Spoiler Button itu tombol "Show Hide" itu lho. Kayak gini contohnya:










ISI SESUATU DISINI




Cara bikinnya kayak gini:



Paste kan kode ini dimanapun kamu akan letak spoiler itu:







<center><div>

<div style="margin: 5px;">

<div class="bigfont" style="margin-bottom: 2px;">

<input 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'; }" style="margin: 0px; padding: 0px; width: 95px;" type="button" value="Show" /></div>
<div class="alt2" style="border: 0px inset; margin: 0px; padding: 6px;">

<div style="display: none;">

ISI SESUATU DISINI</div>

</div>

</div>

</div>

</center>


Change change the codes:

tukar kode warna Merah dengan perkataanmu sendiri

tukar kode warna Biru dengan isi apa di spoiler itu.