Spoiler shoutbox ni macam mana? Spoiler ni, bila korang click dia akan keluar something kat bawah . Sesuai untuk menjimatkan sidebar . . try dulu . *tak boleh nk bagi contoh*
1.design-add a gadget-HTML javaskript
<center><div id="spoiler"><div><input value="CLICK UNTUK SHOUTBOX" style="width:200px;font-size:12px;background-image: url( background korang);-moz-border-radius: 5px; border-radius: 5px;margin:13px;padding:0px;border-style: 2px solid #ff0000;" 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>CODE SHOUTBOX KORANG KAT SINI<center/>
Ubah
- [CLICK UNTUK SHOUTBOX] -> Ayat korang sendiri
- [CODE SHOUTBOX KORANG KAT SINI] -> code shoutbox/cbox
No comments:
Post a Comment