BUTTON SHOW/HIDE

1. Dashboard >> Design >> Add gadget >> HTML/javascript


2. Copy dan paste kod ini.
<div><div style="margin: 5px;"><div style="margin-bottom: 2px;" class="bigfont"><input style="margin: 0px; padding: 0px; width: 95px; " value="Fibox" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Close'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Fibox'; }" type="button"/></div><div style="border: 0px inset ; margin: 0px; padding: 6px;" class="alt2"><div style="display: none;"><iframe src="http://s1.fibox.ws/chat.php?3677" width="200px" scrolling="auto" height="200px" frameborder="0"></iframe></div></div></div></div>
HIJAU - Ayat sebelum dibuka
BIRU - Ayat selepas dibuka
MERAH - Gadget yang awak nak letak. 
Terima Kasih Daun Keladi, Dah Bace Komen Lah Sekali :)

0 komen:

Related Posts Plugin for WordPress, Blogger...