JavaScript - Windows and Frames

Popup Window Closer - Button
To get a popup window to close it is common to add a button that will allow the user to "Close Window"....
Popup Window Closer - Click Anywhere
A not so common method to close windows is using a 'click anywhere' method. The code specifies that if the popup loses focus or is clicked the popup closes. Basically anywhere you click will close the window....
Popup Window Closer - Image
To get a popup window to close it is common to add an image link that will allow the user to "Close Window"....
Popup Window Closer - Text Link
To get a popup window to close it is common to add a link that will allow the user to "Close Window"....
Popup Window Closer - Timer
Use this code to get a popup window to close after a pre-determined amount of time. For example, set an advertisement popup window to remain open for 15 seconds, then it automatically closes....
Window Maximizer
Use this code to automatically maximize (to fill up screen) any window where the code is placed....
Window Move-To
Use this code to automatically move a window to a specified X,Y coordinate. For example, you can automatically move a window to X0,Y0 (upper left). Great to use this in pages in your site you link to using target="_blank" (new window) or po...

Login to your account

Username:*

Password:*


Bookmark this page