How to add google adsense ads Pop-up in Blogger

Punniya seelan
0

 




Code
==================

<script>
$(document).ready(function () {
$('[data-toggle="tooltip"]').tooltip();
});
var firstTop = -1;
var $window = $(window);
$window.scroll(function () {
if ($window.width() > 1000 && $('#HollyJoly') !== null) {
if (firstTop === -1) {
firstTop = $('#HollyJoly').offset().top;
}
if ($window.scrollTop() >= (firstTop - 20)) {
$('#HollyJoly').css('position', 'fixed');
$('#HollyJoly').css('top', '60px');
} else {
$('#HollyJoly').css('position', 'static');
}
}
});
</script>
------------------------
<div id="HollyJoly">

====Google Adsense code here=====

Post a Comment

0Comments

Post a Comment (0)