Sunday, September 30, 2012

Make your own spoiler



TUTORIAL : MAKE YOUR OWN SPOILER


Okeyh..tuto ni Ira ambil dariLina..please credit she if you want to take their tuto..


  •  Dashboard > Design > Add A Gadget > Choose HTML/Javascript.

  • Copy code kat bawah dan pastekan kat ruangan HTML/Javascript tu.

<center><div id="spoiler"><div><input 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;; }" value="YOUR TITTLE" style="width:200px;font-size:12px;background-image:url(URL BACKGROUND);-moz-border-radius: 25px 10px / 10px 25px; border-radius: 25px 10px / 10px 25px;margin:10px;padding:0px;border-style: 2px solid #000000;" type="button" />
<div id="show" style="display: none; background-color:transparent; background-repeat:repeat; margin: 0px;border-width:0px; padding:3px; width:98%">
WRITE ANYTHING YOU WANT
<div id="hide"></div>
  • Save n preview….

No comments:

Im back

Perjuangan tanpa henti Assalamualaikum wbt Setelah sekian lama tidak menulis, tidak menjengah blog ini maka disini hah saya bercadang untuk ...