Memasang Banner Iklan Melayang Dengan Tombol Close. Kali ini saya akan share cara memasang iklan melayang di samping Blog Fungsi tombol close disini agar pengunjung tidak terhalang oleh iklan ini, yuk kita mulai tahapannya :
- Login ke akun blogger sobat
- Pada Dasbor, pilih blog yang akan dikasih iklan footer.
- Klik Tata Letak
- Klik Tambah Gadget, setelah itu muncul jendela munculan dan pilih opsi HTML/Javascript
- Copas kode dibawah ini.
<!-- floating ads yaditrick.blogspot.com -->
<script type='text/javascript'>
$(document).ready(function() {
$('img#closed').click(function(){
$('#btm_banner').hide(90);
});
});
</script>
<script type="text/javascript">var a=navigator,b="userAgent",c="indexOf",f="&m=1",g="(^|&)m=",h="?",i="?m=1";function j(){var d=window.location.href,e=d.split(h);switch(e.length){case 1:return d+i;case 2:return 0<=e[1].search(g)?null:d+f;default:return null}}if(-1!=a[b][c]("Mobile")&&-1!=a[b][c]("WebKit")&&-1==a[b][c]("iPad")||-1!=a[b][c]("Opera Mini")||-1!=a[b][c]("IEMobile")){var k=j();k&&window.location.replace(k)};
</script><script type="text/javascript">
if (window.jstiming) window.jstiming.load.tick('headEnd');
</script>
<!--start: floating ads yaditrick.blogspot.com-->
<div id="teaser2" style="width:autopx; height:autopx; text-align:left; display:scroll;position:fixed; bottom:0px;left:0px;">
<div>
<a href="#" id="close-teaser" onclick="document.getElementById('teaser2').style.display = 'none';" style="cursor:pointer;"><center>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7YwYlV6z027SOjCmSi6xqf_inMRCW4McXsgeDKDbDMvVvzXt06mFcsVUhRXGM3c39QqL4hGvQ6GOfxeTp_h0gD2cpy7Ka5pg7sf9m_owq5AR41K1SWNMKO-8TJ0ikUYbMT_sFktC8x3Iy/s1600/PhoXo2.png'/></center>
</a></div>
<!--Mulai Iklan Kiri-->
LETAKKAN SCRIPT IKLAN DISINI
<!--Akhir Iklan Kiri-->
</div>
<!--end: floating ads yaditrick.blogspot.com-->
<!-- floating ads yaditrick.blogspot.com-->
<script type='text/javascript'>
$(document).ready(function() {
$('img#closed').click(function(){
$('#btm_banner').hide(90);
});
});
</script>
<script type="text/javascript">var a=navigator,b="userAgent",c="indexOf",f="&m=1",g="(^|&)m=",h="?",i="?m=1";function j(){var d=window.location.href,e=d.split(h);switch(e.length){case 1:return d+i;case 2:return 0<=e[1].search(g)?null:d+f;default:return null}}if(-1!=a[b][c]("Mobile")&&-1!=a[b][c]("WebKit")&&-1==a[b][c]("iPad")||-1!=a[b][c]("Opera Mini")||-1!=a[b][c]("IEMobile")){var k=j();k&&window.location.replace(k)};
</script><script type="text/javascript">
if (window.jstiming) window.jstiming.load.tick('headEnd');
</script>
<!--start: floating ads yaditrick.blogspot.com-->
<div id="teaser3" style="width:autopx; height:autopx; text-align:right; display:scroll;position:fixed; bottom:0px;right:0px;">
<div>
<a href="#" id="close-teaser" onclick="document.getElementById('teaser3').style.display = 'none';" style="cursor:pointer;"><center>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7YwYlV6z027SOjCmSi6xqf_inMRCW4McXsgeDKDbDMvVvzXt06mFcsVUhRXGM3c39QqL4hGvQ6GOfxeTp_h0gD2cpy7Ka5pg7sf9m_owq5AR41K1SWNMKO-8TJ0ikUYbMT_sFktC8x3Iy/s1600/PhoXo2.png'/></center>
</a></div>
<!--Mulai Iklan Kanan-->
LETAKKAN SCRIPT IKLAN DISINI
<!--Akhir Iklan Kanan-->
</div>
<!--end: floating ads yaditrick.blogspot.com-->
<!-- end: floating ads yaditrick.blogspot.com-->
6.Simpan dan selesai deh