Cara membuatnya :
1. Login blogger
2. Rancangan, Elemen Laman, Tambah Gadget,
3. Pilih HTML/Java script
Dan Simpan 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"> </td>
<td onclick="bgChange('#FFFF00')" bgcolor="#FFFF00"> </td>
<td onclick="bgChange('red')" bgcolor="red"> </td>
<td onclick="bgChange('blue')" bgcolor="blue"> </td>
<td onclick="bgChange('white')" bgcolor="white"> </td>
<td onclick="bgChange('green')" bgcolor="green"> </td>
<td onclick="bgChange('DeepSkyBlue')" bgcolor="DeepSkyBlue"> </td>
<td onclick="bgChange('Fuchsia')" bgcolor="Fuchsia"> </td>
<td onclick="bgChange('DarkMagenta')" bgcolor="DarkMagenta"> </td>
</tr>
</table>
4. Simpan, dan selesai....
0 komentar:
Posting Komentar.
TOLONG KASIH COMENT NYA,,,TERIMAKASIH,,dan jangan lupa kunjungi bloag aku lagi ya