Hide/Show Button
Sunday, August 11, 2013 | 0
comments

Setting Font Color:<center><div id="spoiler"><div><input value="[click here!]" style="width:200px;font-size:12px;background-color: #FFCFCF;-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%">Put Anything Here</div>
- merah > code warna button klik "disini" tuk cari code warna korg
- ungu > tajuk button/button name)
- pink > jenis border ( Dotted, Dashed, Solid, Double, dll.)
- hijau > width button
- abu > Put anything Guys want there, code or cbox, or banyak macam.
3. Preview then save!
Bila tak faham jangan ragu tuk tanya Unnie! [kat cbox/ ask.fm/ my foxy form]
Post a Comment
• Any questions/ requests/ advices?
• Please leave some comments after read my post^^
• No harsh words please my dear 💖
• Thanks for read my post, hope useful 😊