- Buka blog km pake user ma paswod kamu jangan pake user orang lain.
- masuk ke Rancangan (blog b.indonesia) kemudian tambah gadget.
- Pilih gadget HTML/JavaScript.
- kemudian masukan Script berikut:
#gb{
position:fixed;
top:10px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbcontent{
float:right;
border:2px solid #111111;
background:#111111;
padding:10px;
}
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
/** mumet99 **/
var sitti_pub_id = "BC0003300";
var sitti_ad_width = "336";
var sitti_ad_height = "280";
var sitti_ad_type = "2";
var sitti_ad_number = "3";
var sitti_ad_name = "mumet99";
var sitti_dep_id = "3801";
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
kalo sudah ganti tulisan warna kuning dengan kode iklan km kemudian save . semoga bisa jadi. amin . :D
semoga bermafaat
No comments:
Post a Comment