Wednesday, 9 November 2011 @ 19:21
Annyeong.Ari ni aku nak buat tuto SPOILER BUTTON ala yang
he stole my heart tu.. ok tuto ini direquest oleh my best friend
AqishOleh itu, aku perlulah membantu dia untuk mencantikkan lagi blog dia.. hehe ok lets start
pegi design-- add gadget-- HTML/javascript--- copy code dibawah
<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">
<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>
credit for
Kak Una kalau x faham tekan link tu okay? GOODLUCK