Background Berganti-ganti warna

Kalian Pasti mau Seperti blog saya yg bisa ganti2 warna backgroundnya? karena kalian nggak akan bosen deh,,

gampang kok caranya:


Pada Dashboard Blogger, klik Design dan Add a Gadget.
Membuat jam digital - Add a Gadget

Pilih HTML/JavaScript
Membuat jam digital - HTML/JavaScript

Copy-Paste kode berikut :


<script type="text/javascript">
function bgChange(bg)
{
document.body.style.background=bg;
}
</script>
<table width="100%">
<tr>
<td onclick="bgChange('black')" bgcolor="black">&nbsp;</td>
<td onclick="bgChange('#FFFF00')" bgcolor="#FFFF00">&nbsp;</td>
<td onclick="bgChange('red')" bgcolor="red">&nbsp;</td>
<td onclick="bgChange('blue')" bgcolor="blue">&nbsp;</td>
<td onclick="bgChange('white')" bgcolor="white">&nbsp;</td>
<td onclick="bgChange('green')" bgcolor="green">&nbsp;</td>
<td onclick="bgChange('DeepSkyBlue')" bgcolor="DeepSkyBlue">&nbsp;</td>
<td onclick="bgChange('Fuchsia')" bgcolor="Fuchsia">&nbsp;</td>
<td onclick="bgChange('DarkMagenta')" bgcolor="DarkMagenta">&nbsp;</td>
</tr>
</table>


sumber : Nano yulianto

2 komentar:

la tahzan said...

wew,, keren boz templatenya.. ckckkcc

MICHAEL jackson said...

Numpang Ngopy Artikelnya

Post a Comment

Tambahkan komentar Bray , kritik dan masukkan dari bray akan saya pahami

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Top WordPress Themes