30/01/2012
Spoiler button
okey . memang aku ngaku . ramai gila orang dok menanya macam mana nak buat macam aku punye rules tu . bila tekan dia ada keluar tu kan. okey sekarang aku nak buat tutor..First > Design > Add A Gadget > HTML/JavaScript.
add this code :
<center><div><div style="margin: 5px;">
<div style="margin-bottom: 2px;" class="bigfont"><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 = 'Tutup'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Rules'; }" style="margin: 0px; padding: 0px; width: 95px; " value="Rules" type="button" />
</div>
<div style="border: 0px inset ; margin: 0px; padding: 6px;" class="alt2">
<div style="display: none;">
Text Anda
</div></div></div></div></center>
Save ! :) Siap . tak susah pun :)
Positive comment please: 0 comments