Cara Membuat Widget Change untuk Blog

Pertama: LOGIN Ke Blogger Anda
kedua : Masuk Ke DASBOR
ketiga : pilih Rancangan
keempat : Pilih ELEMEN HALAMAN
kelima : Klik Tambah GADGET
ke  enam : Pilih HTML/JAVASCRIPT
ketujuh : "kayak senam poco-poco aja ya..pake hitungan gitu..hahaha
ok.copy aja kode di bawah ini ,trus di paste kan di elemen java script tadi.


<div class='widget-content'>
<center><script>
function go1(){
if (document.selecter2.select2.options
[document.selecter2.select2.selectedIndex].value != "none") {
document.getElementById('main').style.fontSize
=document.selecter2.select2.options
[document.selecter2.select2.selectedIndex].value
}
}

function go2(){
if (document.selecter2.select3.options
[document.selecter2.select3.selectedIndex].value != "none") {
document.getElementById('main').style.fontFamily
=document.selecter2.select3.options
[document.selecter2.select3.selectedIndex].value
}
}
</script>
<form id="forma" name="selecter2" method="POST">

<select onchange="go2()" style="font-family:verdana;font-size:8pt" name="select3" size="1">
<option value="Times New Roman" />Times New Roman
<option value="Arial" />Arial
<option selected value="Book Antiqua" />Book Antiqua
<option value="Bookman Old Style" />Bookman Old Style
<option value="Century Gothic" />Century Gothic
<option value="Comic Sans Ms" />Comic Sans Ms
<option value="Tahoma" />Tahoma

<option selected value="Trebuchet Ms"//>Trebuchet Ms
<option value="Verdana" />Verdana
</select>
<select onchange="go1()" style="font-family:verdana;font-size:8pt" name="select2" size="1">
<option value="8px" />8
<option value="9px" />9
<option value="10px" />10
<option value="11px" />11
<option selected value="12px" />12
<option value="14px" />14
<option value="16px" />16
<option value="18px" />18
</select></form><center></center></center>
</div>

Kalau SUdah silahkan Klik SIMPAN Dan lihat hasilnya...
selamat mencoba

0 comments:

Post a Comment

Mau mendapatkan Penghasilan Lebih,KLIK Iklan di Bawah ini ..!

 

Blogroll


ShoutMix chat widget

Followers

Ping your blog, website, or RSS feed for Free My Ping in TotalPing.comGet Free Back Links Ping your blog, website, or RSS feed for FreeBlog sains Community kumpulan artikel Sains dan Teknologi Blog Sains dan top artikel
Blog Sains dan top artikel