How to create pop-up window in html (for blogger blogs)

html_logo“Pop-Ups” one of the most important and useful thing in our blogs and websites which can be used to give source or credits, references, making contact us button or anything you want to make create but don’t need a separate browser window. Below is the method by which you can create a basic pop up which you can re-direct to any page you want.

All you need to make a pop-up in HTML is to copy the code given below and paste it where you want to give the link of pop-up.


Click Here to download notepad file of the html code.


Change the link to the desired page you wants to open with your pop-up.

Change the desired width and height.

Change toolbar, statusbar, scrollbar e.t.c according to your requirements.

I think that was simple enough, for any further clarification kindly drop us a comment. :)

CREDITS: The above code is generated by Automatic Pop Up Generator.

No related posts.


 Share your views
  1. That code comes really handy for blogger blogs.Also for other sites with little tweaks

  2. Everything is handy for blogger blogs :)

  3. THANK YOU SO MUCH! I’ve been looking for several hours for a code or script that would work with blogger to open a new window to play Youtube videos in. I’ve tried at least 10 so far but this one was the only one that remotely worked.

  4. Hello when I preview my post the pop up window shows up just, however when i click on view blog the pop up window doesn’t appear. Can you help me please.

  5. peace be upon you. can you please clear my doubt.
    i have added a picture widget and i have added a link to it. and what i want is it to open in a pop up window. hope for a quick reply

  6. Download the notepad given above and change the desired link :)

  7. Nice working code it will reduce loading time of my blog
    Thanx A Lot

  8. How can I get the link to pop up in a new window? Thanks.

  9. My link is not opening in a new window. It’s just changing the page. How can I have the link open in the new window? You can see it on my blog. Thanks.

  10. I have a doubt i want my blog to be opened with a popup ,,so do you have any code where some one open my blog and this pop up opens automatically.

  11. Thanx So Much For Giving This Code

  12. Hi sauravjit ,
    Thanks for the code
    This is a code that i find many times…
    thanks again
    i want to know that can i put google adsence html script into it..
    is work or not…
    reply please

  13. Hi,
    plz help me i tried a lot but i cant able to find such a code that i want, when some one open my blog and the pop up window also opens automatically.

  14. Dear Frnd,

    I would like to crate a pop window , whwnever my site is open that pop up window also open with my site, can u plz tel me how to crate a popup window like that….

  15. Thanks for this! Two things:

    1) Although I have “resizeable” as a “no”, it still allows me to resize the popup. I’m using Firefox, which could be the issue.

    2) In order to make a page for the popup to display, I had to create another post. So, when the popup comes up, inside it can be seen the banner, menus, etc like a whole other page. Is there a way to have the popup show ONLY text?

    Thanks :)

  16. Thanks Buddy , I am really in search of this code !

  17. in dis pag as “home, services advertise,login”….lik dat i creatd livetv in my blog fr to relat web…but how can i add javascript code (fr each TVchannel-code had) to dat window….

  18. Hi,

    How to show pop-up windows to prevent someone to copy something in our blog?

  19. This is perfect for a website window, but I would like to know how to make a YouTube pop-up. Like where it opens up as just a YouTube video, not really a window. And the webpage is darkened.

  20. nice blogger tips. thanks for the script.

  21. it is not exictly as i know!

  22. thank u man thank is what exactly i was looking for …

  23. great way to keep ur visitors indide ur side .. thanks

  24. Thank you so much. It took a bit of time for me to figure it out, but this worked perfectly!

  25. Prasanth S Pushpa May 13, 2011 at 7:45 am

    Can you help me automatic on load popup window is actually what i am looking for..

    these are my blogs pls help me to do this thanks in advance..

  26. for those who want an image that if you click it opens popup it’s easy

    replace return false and everything after it for this:

    return false">

    you can adjust width and height

  27. sorry for my other comment lol, I made a mistake,

    for those who want an image that if you click it opens popup it’s easy
    replace return false and everything after it for this:

    return false”>

  28. please tell me that how can i insert more than one url link in any word ?? Please give me by example.

    as in email word i inserted 1 link “”

    But i wana insert 2 links in email &

    how to do that please give me html link of that.

  29. I used to use Apture, until it stopped making a pop-up generator.
    I entered your code and all of my old Pop-ups are working again!
    Thank you!

    I don’t know how to create new ones, though. Where do I enter the link to “pop up?”

    Thanks, Chris

  30. Hi!
    I’m new in the blogging but this codec works very good.

    I want to open a pop up window and there you read a text not to go in a new site.
    How can I do that?

  31. NOT sure what Blogger you all are using, I get a XML error! Big Time!

    Thanks, for………….

  32. hi, i’ve tried the code but blogger rejected it. what should i do?
    thank a lot

  33. Hello!
    how to give the focus to the pop up window ? I want it remains visible. It is a tool for me:
    I use but it doesn’t work in Blogger, it seems…
    Thank you by advance.

  34. My code has been deleted:
    I use “” but it doesn’work in Blogger
    (body body onblur=”window.focus();”)

  35. how to i create a popup subscriber box in blogger

  36. Looking for this from several days……

  37. Hey Hi
    I want to ask a ques.
    When i share the link of my blog
    no thumbnails are shown in it. I have added 2 photos via post + a photo has been added to d blog. Please help me

  38. I am not getting a popup. the page is opening in the same window. If you happen to check on blog, its the Give feedback link, in the first post. Thanks.

  39. Hey is there any plugin with the option or feature to add a Facebook page with minimal code stuff? This works fine but I need to create a separate html page to show my page on pop-up

  40. where to paste that code ?

  41. how can i make more than 1 page pop-ups when i click on the link?

  42. I have downloaded the notepad code. The pop up window have not shown by clicking on view blog option. Please help me.

  43. Hi, this is cool trick. I really love your website.
    I have a question please help me: I want to add facebook like popup window in my Blog . Please give me html code.

Leave a Comment

  • Facebook
  • GitHub
  • Twitter
  • LinkedIn
  • Google

Your email address will not be published.