Menu:

Links:

Use these links to navigate the FAQ:

Next:
Javascript to control presentation using keystrokes

Previous:
Javascript for Forward and Back buttons

All about PPT2HTML index page

Updated
7/25/2016

Microsoft MVP Logo

Javascript to close the browser window

This produces a link that, when clicked, will close the current browser window:

<a href="javascript:self.close()">Close the window</a>

If the current window is the original window opened by the user, the user will see a prompt asking whether it's ok to close the window.

[Previous] [Home] [Next]