Uncle Jim's JavaScript Examples
Popup Window Generator

Here you can create a customizable popup window on your site. You can either have one which pops up when your page is opened, or have a link which opens a window which is exactly how you want it, much better than a standard HTML one. Just fill in the boxes and click Create and your code will be generated below.

URL To Open in window
Window Name:
(this can be left at the default)
Top (pixels):
Left (pixels):
Window Width (pixels):
Window Height (pixels):
Select the features of the
window to be opened.
Menu Bar
Status Bar
Scrollbars
Resizable
Toolbar
Location Bar

(Your code will appear below)


For the window to open when a link is clicked add this code to the <body> of your document.


For the window to open when the page is loaded add this code to the <head> of your document.


To Copy Code:
Right-Click -> Select All -> Copy