Wednesday, July 18, 2012
Tutorial : Button Show-Hide Spoiler Posted at 9:38 PM 0 comment(s)
tak tahu apa tu button show-hide spoiler???
ianya macam gambar kat bawah ni





1. Log in > Dashboard > Add Gadget > Html/Java Script

2. Copy dan paste code di bawah pada JavaScript :


<div><div style="margin: 5px;">
<div style="margin-bottom: 2px;" class="bigfont"><input style="margin: 0px; padding: 0px; width: 95px; " value="Klik Sini" 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 = 'Klik Sini'; }" type="button"/>
</div>
<div style="border: 0px inset ; margin: 0px; padding: 6px;" class="alt2">
<div style="display: none;">
Masukkan Code JavaScript/Gambar/Text Di sini
</div></div></div></div>

warna merah:tukar dengan perkataan korang
warna hijau:tukarkan dengan perkataan korang 
warna oren:masukkan apa yang korang nak masukkan 

About

(^ ᴗ ^)★彡
umi mashitah
17. Malaysia.
KPOP LOVER. ♡
Shout
Chingu
Ask fm

Tweet
Instagram
Credits
Layout by mymostloved with script, background and image.