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(&#39;div&#39;)[1].getElementsByTagName(&#39;div&#39;)[0].style.display != &#39;&#39;) { this.parentNode.parentNode.getElementsByTagName(&#39;div&#39;)[1].getElementsByTagName(&#39;div&#39;)[0].style.display = &#39;&#39;; this.innerText = &#39;&#39;; this.value = &#39;Tutup&#39;; } else { this.parentNode.parentNode.getElementsByTagName(&#39;div&#39;)[1].getElementsByTagName(&#39;div&#39;)[0].style.display = &#39;none&#39;; this.innerText = &#39;&#39;; this.value = &#39;Rules&#39;; }" 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
« Older posts | Newer posts»