CoderZone.org

Category: >> JavaScript >> Window close on any click Bookmark and Share

<< lastnext >>

Snippet Name: Window close on any click

Description: Closes a window when you click anywhere in the window.

Comment: (none)

Author: CoderZone
Language: JAVASCRIPT
Highlight Mode: HTML4STRICT
Last Modified: February 28th, 2009

<html>
<head><title>Close On Click</title></head>
<body>
<center>
<img src='http://www.somedomain.com/some_imagegif' onMouseDown='self.close()'>
</div>
</body>
</html>
 
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© coderzone.org | users online: 36