Script floating dengan tombol 1 kali close

Script floating dengan tombol 1 kali close

Script floating iklan dengan tombol 1 kali close


Script floating iklan satu kali close - Kali ini saya akan share Script floating iklan dengan tombol satu kali close, sangat cocok sekali untuk meminimalkan pendapatan anda di iklan PPC. Jika blog anda belum menghasilkan rupiah silakan baca artikel saya tentang money blog

Baiklah langsung saja ke tutorial cara memasang script floating iklan melayang:
1. Pertama anda login ke blog 
2. Silakan ke dasboard blog anda terus klik Tata letak
3. Tambahkan Gadget
4. Lalu simpan kode dibawah ini 
<!-- Start Iklan Melayang Footer -->
    <scriptsrc='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'> <br />
    <script type='text/javascript'> $(document).ready(function() { $('img#closed').click(function(){ $('#btm_banner').hide(90); }); }); </script>
    <style type='text/css'> div#btm_banner { bottom: 0; position: fixed; width: 100%; opacity: 0.9; left: 0; } div#btm_banner img{ border:0; cursor:pointer; } </style> <div style='height: 0px;'></div> <div align='center' id='btm_banner' style='height: 470px; z-index: 9999;'> <div style='text-align: right; width: 735px; height: 3px;'> <img id='closed' src='http://4.bp.blogspot.com/-Fx9zCWJeENU/VQpCe_oeJoI/AAAAAAAABs0/Y5FJ72oxH_I/s1600/signup-cross-icon.png'/></div> <div style='clear: both;'></div> <p> <p><center> MASUKAN SCRIPT IKLAN ANDA DISINI
 </center></p> </p> </div>
    <!-- End Iklan Melayang Footer --></scriptsrc='http:> 
5. Simpan, dan lihat hasilnya .

Jika anda tidak terlalu menyukai script floating diatas, silakan anda coba script floating dibawah ini dengan tombol satu kali close.
<style type="text/css">
#gb{
position:fixed;
top:250px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbcontent{
float:left;
border:2px solid #ffffff;
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-100;
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:left">
<a href="javascript:showHideGB()">
<button>Klik Gambar/Close</button>
</a>
</div>
<center>


MASUKAN SCRIPT IKLAN ANDA DISINI

</center>

<div style="text-align:left">
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (20-gb.offsetWidth).toString() + "px";
</script></div></div>
Atau anda bisa coba juga script iklan dibawah ini :
<style type="text/css">
#gb{
position:fixed;
top:120px;
right:520px;
z-index:+1000;
}
* html #gb{position:relative;}


.gbcontent{
float:right;
border:2px solid #ffffff;
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-100;
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()">
Close
</a>
</div>

<center>

MASUKAN SCRIPT IKLAN ANDA DISINI
 
</center>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (20-gb.offsetWidth).toString() + "px";
</script></div>
</div>
Silakan pilih script diatas, dan jangan lupa berkomentar ya. Terimakasih !


No comments:

Post a Comment

Contact Us

Name

Email *

Message *

Back To Top