Berikut langkah cara membuat space iklan melayang di bawah blog :
1. Login akun blogger Anda.
2. Pilih menu tab Tata Letak > Tambahkan Gadget > HTML/JavaScript.
3. Copy paste kode berikut pada gadget HTML/JavaScript.
<!-- floating ads http://id-pemula.blogspot.com/ -->
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'>
</script><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: 120px; z-index: 9999;'>
<div style='text-align: right; width: 728px; height: 15px;'>
<img id='closed' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYeruMkEk3tYEHnrqtIibCCu19XLQ6HvbWbFDDPRTKOA5uC1ivw58CEnRUcCx0xUjRstcLi7DEXEeegjHhgX6QKLNlu8cwIH88vD1TlCLDqx8XinMgIpw9eK91sec7AfBC-X0EYHKjMMCV/s1600/close3.png'/></div>
<div style='clear: both;'></div>
<p>
<p><center>
</center></p>
</p>
</div>
NB : Ganti tulisan yang berwarna merah dengan script iklan Anda.<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'>
</script><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: 120px; z-index: 9999;'>
<div style='text-align: right; width: 728px; height: 15px;'>
<img id='closed' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYeruMkEk3tYEHnrqtIibCCu19XLQ6HvbWbFDDPRTKOA5uC1ivw58CEnRUcCx0xUjRstcLi7DEXEeegjHhgX6QKLNlu8cwIH88vD1TlCLDqx8XinMgIpw9eK91sec7AfBC-X0EYHKjMMCV/s1600/close3.png'/></div>
<div style='clear: both;'></div>
<p>
<p><center>
Letakkan kode iklan AdSense Anda disini!
</center></p>
</p>
</div>
4. Kemudian Simpan.
Nah, semoga informasi membuat space iklan melayang di bawah blog dapat membantu!
Tidak ada komentar:
Posting Komentar