Ending HTML Slide Show

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an HTML slideshow that I run in a new window when a user clicks on a button in a web site. However if I include a HyperLink within the Powerpoint Slideshow to 'End Show' it does nothing. Is there any way I can get it to end the show and close the window? Preferably without resorting to VBA as I would like it to work from any browser.

Thanks.
 
If you look at the on-line tutorial mentioned in the following link. It has the
required code to return you to the calling page

http://www.rdpslides.com/pptfaq/FAQ00428.htm



--
<>Please post all follow-up questions/replies to the newsgroup<>
<><>Email unless specifically requested will not be opened<><>
<><><>Do Provide The Version Of PowerPoint You Are Using<><><>
<><><>Do Not Post Attachments In This Newsgroup<><><>
Michael Koerner [MS PPT MVP]


I have an HTML slideshow that I run in a new window when a user clicks on a
button in a web site. However if I include a HyperLink within the Powerpoint
Slideshow to 'End Show' it does nothing. Is there any way I can get it to end
the show and close the window? Preferably without resorting to VBA as I would
like it to work from any browser.

Thanks.
 
That didn't quite work I presume because I was opening my presentation in a new window. But I did come up with a way to solve it. I created a file called autoclose.htm and switched the hyperlink from an 'End show' instruction to link to this file. autoclose.htm contains the following HTML which will close the browser window after 5 milliseconds.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Auto Close</title>
</head>
<body onload="setTimeout(window.close, 5)">
<p></p>
<center>
<font face="arial, helvetica" size="-2">Closing Window...</font>
</center>
</body>
</html>
 
Neil, thanks for coming back with your solution. will have to hang on to this
one. Thanks

--
<>Please post all follow-up questions/replies to the newsgroup<>
<><>Email unless specifically requested will not be opened<><>
<><><>Do Provide The Version Of PowerPoint You Are Using<><><>
<><><>Do Not Post Attachments In This Newsgroup<><><>
Michael Koerner [MS PPT MVP]


That didn't quite work I presume because I was opening my presentation in a new
window. But I did come up with a way to solve it. I created a file called
autoclose.htm and switched the hyperlink from an 'End show' instruction to link
to this file. autoclose.htm contains the following HTML which will close the
browser window after 5 milliseconds.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Auto Close</title>
</head>
<body onload="setTimeout(window.close, 5)">
<p></p>
<center>
<font face="arial, helvetica" size="-2">Closing Window...</font>
</center>
</body>
</html>
 
Back
Top