- Login to your blogger account
- Go to Theme
- Click on Edit HTML
- Click anywhere inside the code area
- Press Ctrl+F
- Search following code
- Paste following javascript code before </body> tags
- Again search following code
- Now paste following code after <body> tags
- Click on Save template and you are done
</body>
<script> $(document).ready(function($) { $('.cb_splash_ads .close').click(function(event) { event.preventDefault(); $('.cb_splash_ads').slideUp('slow'); }); }); $(window).load(function(){ setTimeout(function(){ $('.cb_splash_ads').slideUp('slow'); },3000); }); </script>
<body>
<!--Splash Popup Ads Start--> <div class='cb_splash_ads'> <div class='pop'> <a class='close' href='#'><img alt='' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwFLXZOU_MN6fk8UsNe-3OE0Z9SvLhbdp4RUCWOfJ6eBfO06pC0vY2PK2DmkUFjFxEkfwW2GplrCMccLHYIa_v2FE_ynuUSdyQ-BBtXvWXCF_hyE3mf643fEyeCx_NBVdjnxaRgt3sebo/s1600/close.gif'/></a> Here paste your 300x250 banner ad code </div> </div> <!--Splash Popup Ads End-->Replace Here paste your 300x250 banner ad code with your AdSense or other platform 300x250 banner ad code.
Customize
- If you want to change automatic closing time limit, you can do it by changing the 3000 value from above javascript code.
- If you want your visitors' manually close popup ads by clicking on a close icon, remove following code from above javascript code.
$(window).load(function(){ setTimeout(function(){ $('.cb_splash_ads').slideUp('slow'); },3000); });That's it. I think that you enjoyed my tutorial. Happy Commenting!