Archive for the ‘Javascript’ Category

Click anywhere in window to close a popup window

Add this to the body tag:

<body onclick=’javascript:self.close();’>