Saturday, August 27, 2011 at 8:53 PM with
Sekarang Lulu akan ngebahas cara ngebuat spoiler button ver.2 ;D apa itu spoiler Button ver.2?? lihat gambar dibawah:
*Klik untuk memperbesar*

Cara ngebuatnya:

Dashboard >> Design >> Add Gadget >> HTML/Javascript



Copy dan paste kode dibawah ini di kotak HTML/Javascript kamu




<center><div id="spoiler"><div><input value="Show Credits" style="width:200px;font-size:12px;background-image: url(URL Background);-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>Kata-Kata kamu</center>

P/s Merah ganti dengan Kata-kata kamu
Biru Ganti dengan URL Background Kamu
Pink ganti dengan kata-kata kamu (pink kata-katam yg ada dalam kotak spoiler) 
Mudahkan?? Selamat mencoba!!

Labels:



目を閉じれば, 今も君がそこにいるようで
We all live under the same sky, but we don't all see the same light. {}

affiliates




the past
do you have any question?
ASKBOX ASK.FM
Click one of the options above and contact the me'ttebane! (⊙ヮ⊙)
my tumblr
credits area
© 2014 - Codes, design and colors by pinktape. Icons by birdhaus. Bullets and mini-icons by 7THD and kawaii-box. Other picts by mrsjblacks, narucapped, shirayukkis.