How to create a popup window for Blogger

  1. Login to your blogger  account
  2. Go to Dashboard >> layout and click “add a gadget” from sidebar or footer
  3. Open HTML/JavaScript gadget
  4. Add the following script in HTML/JavaScript content area and click save
Popup window for blogger
1<script type="text/javascript">
2document.body.onclick= function(){
3window.open('http://techpoison.in', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=950, height=650, left = 300, top = 50');
  1. Make sure to change the http://techpoison.in URL
  2. Customize the width and height of the popup window like you wish
Now a popup window opens pointing to that page when users click somewhere on your blog.

Post a comment