Close window link

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.

How do I create a close window link with javascript?

Close window link

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

   

Comments

Nobody has commented on this tip yet. Be the first.



Name:


URL: (optional)


Comment:


Not finding the advice and tips you need on this Html Tip Site? Request a Tip Now!


Guru Spotlight
William Pirraglia