1. Dashboard > Design > Add Gadget > HTML/Javascript
2.Copy code dibawah & pastekan ke dalam HTML/Javascript
<center><div id="spoiler"><div><input onclick="if (this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = ''; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = 'none'; this.innerText = ''; this.value = 'Hide Spoiler!'; } else { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = ''; this.innerText = ''; this.value = 'Show Spoiler!'; }" value="YOUR TITTLE" style="width:200px;font-size:12px;background-image:url(BACKGROUND SPOILER);-moz-border-radius: 25px 10px / 10px 25px; border-radius: 25px 10px / 10px 25px;margin:10px;padding:0px;border-style: 2px solid #FFBABA;" type="button">MERAH : yg ni tittle dia
<div id="show" style="display: none; background-color:transparent; background-repeat:repeat; margin: 0px;border-width:0px; padding:3px; width:98%">
<center>ISI SINI :)</center></div>
<div id="hide"></div>
UNGU : ungu nie pulak background spoiler button korunk
BIRU : seterusnya ini border button spoiler button
HIJAU : korunk isi lah apa yang korunk nak
2 comments:
Dah lama cari ni. Tuto Nisa semua bergune sesangat !!!
@Lenaliya Ok
Post a Comment