Random

Follow Me on Pinterest
Home » » iklan melayang yang transparan diblog

iklan melayang yang transparan diblog

Unknown | Jumat, Juni 15, 2012 | 0 coemntar kalian
langsung aja siang kali ini saya akan membagi caranya membuat iklan melayang diblog


1. buka blog mu
2. klik design
3. klik page element
4. klik add a gadget
5. cari html/java sript
6. paste code berikut ini

<style type="text/css">
#gb{
position:fixed;
top:10px;
z-index:+1000;
}
* html #gb{position:relative;}

.gbcontent{
float:right;
border: transparent;
background: transparent;
padding:10px;
}
</style>

<script type="text/javascript">
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);}
}
</script>

<div id="gb">

<div class="gbtab" onclick="showHideGB()"> </div>

<div class="gbcontent">

<div style="text-align:right">
<a href="javascript:showHideGB()">
.:<img src="" title="klik 2x untuk hilangkan iklan ini" alt="X"/>:.
</a>
</div>
<center>
</center>
taruh sript iklanmu disini dan selamat mencoba


semoga bermanfaat


Share this article :

0 coemntar kalian:

Posting Komentar

peraturan komentar
1. pasang link kalian jika berkomentar di blog ini sehingga saya bisa visit back blog kalian
2. dilarang spam di blog ini
3. dilarang komentar yang berbau sara
4. follow my blog and i will follow back
5. saling tukeran link banner

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. KANG SHIN BLOG - All Rights Reserved
Template Modify by Creating Website
Proudly powered by Blogger