Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing open window

Status
Not open for further replies.

Ineedjava

Technical User
Apr 14, 2001
21
US
I've successfully created a pop-up window (using window.open command) in which I display a jpeg image.

I've had no problem automatically closing the window (named newWind) using a javascript command like "newWind.close()" which is executed upon an onUnload or onClick.

Now, rather than linking a jpeg image inside the pop-up window, I am linking a PowerPoint presentation. For some reason, the window will no longer automaticaly close. It's as if the javascript name for the window changes but only when the PowerPoint presentation is loaded within the window.

Does anybody know the code to close this pop-up window? Perhaps javascript code that would close all pop-up windows?
 
Have you tried:
<a href=&quot;javascript:window.close();&quot;>Close Window</a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top