Read this tip to make your life smarter, better, faster and wiser. LifeTips is the place to go when you need to know about Javascript and other Html topics.
Opening a pop-up window to provide visitors with extra information or help adds credibility to a website. Visitors like the fact that they don't have to wait for an entire page to load (although they really are!) and they also don't have to lose their place on the page they're on.
A simple link on the page that opens in the pop-up will allow the user to close the window and return to the page they were viewing. Here's the code:
Close window