">
Welcome to my blog..thanks for visiting..feel free to drop ur comment..^__^

Jom CLICK!

Saturday, January 21, 2012

Tuto:Button Hide Spoiler (Bercorak)

Assalamualaikum..

Jom buat Button Hide Spoiler,tapi yang ni jenis bercorak.Comey taw!.Bagi yang tak tahu tu, meh sini nak tunjuk kat korunk semua:)

Ni laa Button Hide Spoiler tuh:)

Then,bila di CLICK..akan keluar macam nih

#korunk boleh lihat kat owner -->


1.Dashboard > Design > Add a Gadget > Html/Javascript

2.Copy kod bawah nih:
<center><div id="spoiler"><div><input value="BUTTON TEXT" style="width:88px ;font-size:12px;background-image: url(URL IMAGE BACKGROUND);-moz-border-radius: 10px; border-radius: 10px;margin:13px;padding:0px;border-style: 2px solid #ffffff;" type="button" onclick="if (this.parentNode.parentNode.getElementsByTagName(&#39;div&#39;)[&#39;show&#39;].style.display != &#39;&#39;) { this.parentNode.parentNode.getElementsByTagName(&#39;div&#39;)[&#39;show&#39;].style.display = &#39;&#39;; this.parentNode.parentNode.getElementsByTagName(&#39;div&#39;)[&#39;hide&#39;].style.display = &#39;none&#39;; this.innerText = &#39;&#39;; this.value = &#39;Hide Spoiler!&#39;; } else { this.parentNode.parentNode.getElementsByTagName(&#39;div&#39;)[&#39;show&#39;].style.display = &#39;none&#39;; this.parentNode.parentNode.getElementsByTagName(&#39;div&#39;)[&#39;hide&#39;].style.display = &#39;&#39;; this.innerText = &#39;&#39;; this.value = &#39;Show Spoiler!&#39;; }" /><div id="show" style="display: none; background-color:transparent; background-repeat:repeat; margin: 0px;border-width:0px; padding:3px; width:90%"><center><center>YOUR TEXT</center></center></div></div></div></center></center></center>



3.Save...DONE!!




Suka?Kasi komen la sikit;)

0 orang suka entry nih!:

Post a Comment

Assalamualaikum..
Silalah tinggalkan comment anda kat sini
SATU pon takpe;)