Ada kan ??
Try klik "Click Sini" . Ada apa2 perubahan tak? Bila klik , akan jadi macam ni !
Okeis~ Cara nyer simple jer. :)
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>
3. Save .! Lihat hasilnya :)
klik2 -->
No comments:
Post a Comment