Text Fixer Online Tools

Popup Window

Make a Popup Window

You can create the html code for a popup window with this online tool.

Just use the form below to generate the necessary popup windows code to paste into your HTML.

This tool is good for quick one time use but if you want to have popup functionality built into your website then you should learn about the javascript code needed to create pop-up windows for your site or an even better way is to use the jQuery popup code.

Using this popup window generator script lets you control the pop-up window size and appearance, along with the option to make the pop up resizable or not.

All the necessary HTML code is generated by this tool so all you have to do is copy and paste the script. So go ahead and generate some popup window code for yourself.

I've added some observations about current cross browser support for pop-up windows at the bottom of the page.

Make a Popup Window

Modify the size and appearance values below, and then click the generate code button.

The pop up script will appear in the box below the button along with your popup link for testing.

       

     

Popup Window Code

Making a Popup Windows on Modern browsers

Most modern browsers will no longer let you hide the bar at the top containing the URL of your pop-up windows. This was changed for security reasons in order to let the visitor always know what site they're on.

Chrome Problem with Scrollbars Appearing on Popup Window

It seems to me that currently Chrome will not suppress the scrollbars on your pop-up window when you set the scrollbars to "no" or "0". On Chrome, the scrollbars for the pop-up will appear when the content is larger than the pop-up size and you have set the scrollbars not to appear.

I'm guessing that this is a decision they made for accessibility reasons. Sometimes people have their fonts or what not set to appear larger for visual readability reasons and if there are no scrollbars then part of the content might be inaccessible to them.

Generally you should not hide the scrollbars but instead you should try to design the content to appear in the pop-up window for the majority of your viewers. Although it's not a best practice to hide the scrollbars, here's a quick fix if you really want to do this for all browsers.

//Add the following code to the HTML head of your pop-up:

<style type="text/css">
body{overflow:hidden;}
</style>

Sometimes you gotta do what ya gotta do.

Most Popular Text Tools

Alphabetical Tools

Random Generators

Line Break Tools

Fun Text Tools

Text Changing Tools

SEO and Word Tools

Content Conversion Tools

HTML Code Generators

HTML Compression

HTML Encoding Tools