FOLLOW biography stuffies home entry

  




Older Post >> | << Newer Post
Spoiler Button
Kamis, 16 Mei 2013 | 0 comments


  • Copy kode ini
  • <center>
    <div id="spoiler">
    <div>
    <input value="OPEN" 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('div')['show'].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = ''; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = 'none'; this.innerText = ''; this.value = 'Hide Spoiler!'; } else { this.parentNode.parentNode.getElementsByTagName('div')['show'].style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('div')['hide'].style.display = ''; this.innerText = ''; this.value = 'Show Spoiler!'; }" />
    <div id="show" style="display: none; background-color:transparent; background-repeat:repeat; margin: 0px;border-width:0px; padding:3px; width:90%">
    <center>
    HTML/JavaScript, Text, Gambar, Widget, dll</center>
  • Paste di Edit HTML atau HTML/JavaScript
MERAH :Kata-kata di tombol
ORANGE : Background tombol
HIJAU : Letakan apa saja. contoh: kode, widget, text, gambar dll


Label: