Window control javascripts

Popup, popunder and window manipulation JavaScript code snippets that you can use on your web site.

Flying Popup Window
Use this code snippet to create a popup window that moves around the screen. 

PopUp Making Wizard, w/Cookies!
Use the Ace Generation 3 Popup Wizard with cookies to add popup windows to your web site. The windows are activated by clicking on a link, button or when a page loads or unloads. The popups can be adjusted to any degree of detail you desire - menus, scrollbars, toolbar etc.  You can also set the window to popup only once per visitor or at set interval per visitor.

"BYE" Popup - onUnload
This script is designed to open a window when the users are leaving your site. 

Multiple popups
This JavaScript opens 2 popup windows at once. 

Automatic Window Resizer
Use this code to resize a window to a specified height and width.

Window Move-To
This snippet will move a window to a specified X,Y coordinate - useful for keeping a new window out of the way of content that you wish to remain to be seen.

Window Maximizer
Use this code to automatically maximize any window where the code is placed.

Hold Window Focus
Use this code to make sure a window remains on top of other windows

Popup Window Close
Here you will find a few methods to close windows. Select from the list below to jump to the code. Use the instructions near each method. Close window after time interval, Use a link to close popup, Use a button to close popup, Use an image to close a link and Use 'click anywhere' method to close popup.

Popup Window Closer - Timer
Enables a popup window to close after a pre-determined amount of time - e.g. 15 seconds view time and then closes.

Popup Window Closer - Text Link
Simple link that allows your visitor to "Close Window".

Popup Window Closer - Image
Instead of a text link, you can use an image to act as a button to "Close Window".

Popup Window Closer - Click Anywhere
This script will allow a user to close a window by clicking anywhere within the popup window.

Not a ThinkHost client? We invite you to view our web hosting plans - whether you are wanting an entry level, small business or high bandwidth package, we have something to suit just about every web site owners needs.