Kali ini saya akan mengulas tentang Cara Mudah Membuat Iklan Melayang Di Blogger. Sdr.Akhyar Sebelumnya bertanya kepada KangTiar "Bagaimana Cara Mempercepat Gerakan Iklan Melayang?" dan Terbukti Iklan Melayang ini kalau di Close Cepat. Sayapun membagikan Kode iklan ini ke Para blogger Khususnya Sdr.Akhyar. langsung saja ke tkp..
1. Login di Blogger.com
2. Masuk ke Tata Letak--->Tambah Widget--->HTML/Javascript
3. Masukkan Kode Dibawah ini Kedalam HTML/Javascript
<style type="text/css">
#gb{
position:fixed;
top:10px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbcontent{
float:center;
border:2px solid #A5BD51;
background:#ffffff;
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:center">
<a href="javascript:showHideGB()">
.:[Close]:.
</a>
</div>
<right>
</right>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></div></div>
#gb{
position:fixed;
top:10px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbcontent{
float:center;
border:2px solid #A5BD51;
background:#ffffff;
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:center">
<a href="javascript:showHideGB()">
.:[Close]:.
</a>
</div>
<right>
<a href="http://kangtiar.blogspot.com/2010/03/dicari-pengunjung-tetap-blogkang-tiar.html"><img style="width: 460px; height: 98px;" alt="http://i989.photobucket.com/albums/af13/vikost/Seyia.png?t=1274930232" src="http://i989.photobucket.com/albums/af13/vikost/Seyia.png?t=1274930232" /></a>
<a href="http://adf.ly/2LBj"><img style="width: 389px; height: 104px;" alt="http://i989.photobucket.com/albums/af13/vikost/GOGOGO.gif?t=1273471311" src="http://i989.photobucket.com/albums/af13/vikost/GOGOGO.gif?t=1273471311" /></a>
<a href="http://kangtiar.blogspot.com/search/label/Tahukah%20Kamu%3F"><img alt="http://i989.photobucket.com/albums/af13/vikost/KUlPul.png?t=1273631586" src="http://i989.photobucket.com/albums/af13/vikost/KUlPul.png?t=1273631586" /></a>
<a href="http://www.needearn.com/aft/b770f65e.html">
<span style="font-weight:bold;">(Bagi yang Ingim DAPAT DOLLAR DENGAN MUDAH.....KLIK!!!)</span></a>
<a href="http://adf.ly/2LBj"><img style="width: 389px; height: 104px;" alt="http://i989.photobucket.com/albums/af13/vikost/GOGOGO.gif?t=1273471311" src="http://i989.photobucket.com/albums/af13/vikost/GOGOGO.gif?t=1273471311" /></a>
<a href="http://kangtiar.blogspot.com/search/label/Tahukah%20Kamu%3F"><img alt="http://i989.photobucket.com/albums/af13/vikost/KUlPul.png?t=1273631586" src="http://i989.photobucket.com/albums/af13/vikost/KUlPul.png?t=1273631586" /></a>
<a href="http://www.needearn.com/aft/b770f65e.html">
<span style="font-weight:bold;">(Bagi yang Ingim DAPAT DOLLAR DENGAN MUDAH.....KLIK!!!)</span></a>
</right>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></div></div>
Keterangan:
Kode yang berwarna merah bisa anda ganti.
Kode yang berwarna biru adalah Kode Iklan yang bisa anda Ganti.
4. SIMPAN (Taruh widgetnya dimana saja)
Semoga artikel Cara Mudah Membuat Iklan Melayang Di Blogger bermanfaat bagi anda.[KangTiar]