{Ilya
Hamizah}

●Sometimes we don't need people to make ourself happy●


tagboard.

links.
refreshtwitterfacebookinstagramfollowtemplatepattern

Tuesday, 25 October 2011
tuto : spoiler button, 12:40, 0 comments
assalamualaikum .
yeah hari khamis saye exam lg . T^T . rase nak nanges pon ade sebap exam diniyyah .kayy da lari topik da nih.
tau tak ape tu spoiler button ? benda ni selalu nyer diletakkan di sideber .ntok credit or rules .


dashboard > design > page element > HTML/javascript *kalau nak letak di sideber


ambil code nih . letak dlm ruangan HTML/javascript :


<div id="spoiler"><div><input value="Credit To" style="width:250px;font-size:12px;background-image: url(URL BACKGROUND);-moz-border-radius: 2px; border-radius: 2px;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%">TULES DI SINI</div></div></div>


merah : perkataan yg korang nak
oren : url BG
hijau : ape yg korang nak tulis dalam spoiler button

← Newer PostOlder Post →