Making a CLOSE button

Making a close button is super easy. All you need to do is make an HTML link like this:
<a href="javascript:window.close()">Click here to close this window</a>
Instead of using text, you can also use a GIF, JPG or PNG file as a "Close button"
(just make sure you set the border="0", OK?)

Check it out!

NOTE - While this bit of Javascript works fine on "popup" windows, it tends
to not work on "full browser" windows (that have the buttons, address
bar, etc..


<< Back to Home