There are two ways to use close window, you can have a link (below) or a click anywhere to close window .

Each of these methods will open the window in it's own html element, genereated by the javascript.

This is this close window link. It is simple to use, add the following to your pages head area;



 

 

Then this is the link code that can be put anywhere you want the link


Test it out!


Click for close link!