Auto centering DHTML pop up window Javascript
Be sure to subscribe to the TPCS blog.
![]()
|
Be sure to check out our gadgets (widgets) section! |
This auto centering pop up window Javascript will open a window (DHTML) and keep that pop up window centered on the visitors page. If the visitor scrolls up or down looking through the page content the window will stay centered. Once closed the window will not reopen. If you want the window to reopen you can use the refresh/reload only once script to refresh the page after on window close.
Copy this auto centering pop up window Javascript code into an HTML doc. Make sure you append the correct extension (.html) to your document.
To download this auto centering pop up Javascript click here. |
![]() |
Auto centering pop up window demo:
To see a demo of this script in action click here.
Did you find the PHP or Javascript you were looking for?
Searching for scripts can be a time consuming effort. Be sure to save this site as a favorite by clicking here. Mozilla and Firefox users must press 'CTRL D' to bookmark this website.
|
Having trouble with the auto centering pop-up window script you found here? Ask Dave from TPCS for help! |





