13 October 2011

Tutorial | Button Spoiler |



Button spoiler selalunya blogger letak untuk credit macam ni


Copy kod di bawah dan paste pada ruangan HTML/Javascript

<center><div id="spoiler"><div><input value="credit" style="width:200px;font-size:12px;background-image: url(http://i1089.photobucket.com/albums/i341/elyana1/pink-2.jpg);-moz-border-radius: 5px; border-radius: 5px;margin:13px;padding:0px;border-style: 2px solid #ff9fcc;" 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>
<div>Template: Denim</b></div>
<div>Editor : Cikelyana</div>
<div>Background : Cikelyana</div>
</center></div></div></div></center>

kod biru boleh tukar kepada ayat korang sendiri
kod merah adalah URL BACKGROUND
kod purple korang boleh letak ayat korang sendiri 

Siap boleh save

Terima kasih sudi baca. Like kalau suka

0 suka ayam goreng:

>
 
copyright by > Cikelyana