Follow Me

Installing Responsive Floating Ads with the Close Button

Installing Responsive Floating Ads with the Close Button
Installing Responsive Floating Ads with the Close Button - How are you bloggers, this time Arlina Design will provide a tutorial on how to install floating ads (Fixed ad banners or text) that are responsive with the addition of a close button under the blog.

Most people start blogs because of hobbies, but there are also those who have the goal of finding friends, increasing online store sales, making money and so on. As a means of supporting blogging activities, you can install ad space on your blog to help advertisers promote their products.

Banner ads that float in addition to close buttons may often be found on blogs or forums that install them. This close button functions as an alternative if the visitor feels disturbed because the content he read is blocked by the floating banner.

Here's How to Install Responsive Floating Ads with the Close Button

Open Blogger> Template> Then add the code below before </body>
<script type='text/javascript'>
$(document).ready(function() {$(&#39;img#closed&#39;).click(function(){$(&#39;#bl_banner&#39;).hide(90);});});
</script>
<div id='fixedban' style='width:100%;margin:auto;text-align:center;float:none;overflow:hidden;display:scroll;position:fixed;bottom:0;z-index:999;-webkit-transform:translateZ(0);'>
<div><a id='close-fixedban' onclick='document.getElementById(&apos;fixedban&apos;).style.display = &apos;none&apos;;' style='cursor:pointer;'><img alt='close' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH0ry10xHvszBO0IKkKql-JW_7cGpsCyo53FwxKaX7MwjN0ZsGd07iAkTw3C_jXc7Q3AdmKXfC1VkzxhxFBfyJKJgehcI4xFg3zXfLTKVgxW6JUO0cjF6el7hv3eAgp87bnQOQSFPZfHoX/s1600/btn_close.gif' title='close button' style='vertical-align:middle;'/></a></div>
<div style='text-align:center;display:block;max-width:728px;height:auto;overflow:hidden;margin:auto'>
<a href='#' title='Banner iklan disini'><img style='max-width:100%;height:auto;vertical-align:middle;' alt='Banner iklan disini' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtvG4o1aqMbYcnHReWQUL-51e6Ad3QQjnS3eEJhKbwDbaXjZUI9MabSjx1_TESfmh-Ma4TUk1dWQNgxEpvE9nAgw7eEqSPDGoXdJAMlVXok-PPl1unaSjITwJnZ1rEFY_61fZnUHWAbRCG/s1600/arlina-tea.png'/></a>
</div>
</div>

Change width and ad description in the code marked as desired.

Save the template.

So about How to Install Responsive Floating Ads with the Close Button, hopefully useful for all friends.
Next Post Previous Post
No Comment
Add Comment
comment url