I think I got it!
Bear with me now, as it gets a little hairy.
First, open the PPT file in Powerpoint.
Then, Click on
File-->Save as Webpage
In the Save As box, change the
Save As Type field to
Web Page (*.htm, *.html)
Click
Save. This might take a while to complete, so be patient!
Go to the location you saved the file, you will see the file plus a folder sharing it's name plus
_files. Something like this:
2006photos.htm 2006photos_files
Go to the
_files folder and find the file named
fullscreen.htm. Open it in Notepad and you'll see something very much like this:
Quote
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=PowerPoint.Slide>
<meta name=Generator content="Microsoft PowerPoint 11">
<link id=Main-File rel=Main-File href="../2006photos.htm">
<link rel=Preview href=preview.wmf>
<script src=script.js></script>
<script><!--
var SCREEN_MODE = "FullScreen";
function Load() {
str=unescape(document.location.hash),idx=str.indexOf('#')
if(idx>=0) str=str.substr(1);
if(!str) str = "slide0001.htm";
if (MHTMLPrefix != "")
{
str = RemoveFilePrefixFromHref(str);
PPTSld.location.replace(MHTMLPrefix+escape(str));
}
else
{
PPTSld.location.replace(str);
}
}
function Unload() {
if ( document.body.PPTSldFrameset != null )
document.body.PPTSldFrameset.frames[1].document.body.resume();
}
//-->
</script>
</head>
<frameset rows="*" frameborder=0 onload="Load()" onunload="Unload()">
<frame name=PPTSld>
</frameset>
</html>
Add the following code between the
</script> and the
</head> tags:
<bgsound src="powerpointmusic.mp3" loop="-1" />
So it should look like this:
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=PowerPoint.Slide>
<meta name=Generator content="Microsoft PowerPoint 11">
<link id=Main-File rel=Main-File href="../2006photos.htm">
<link rel=Preview href=preview.wmf>
<script src=script.js></script>
<script><!--
var SCREEN_MODE = "FullScreen";
function Load() {
str=unescape(document.location.hash),idx=str.indexOf('#')
if(idx>=0) str=str.substr(1);
if(!str) str = "slide0001.htm";
if (MHTMLPrefix != "")
{
str = RemoveFilePrefixFromHref(str);
PPTSld.location.replace(MHTMLPrefix+escape(str));
}
else
{
PPTSld.location.replace(str);
}
}
function Unload() {
if ( document.body.PPTSldFrameset != null )
document.body.PPTSldFrameset.frames[1].document.body.resume();
}
//-->
</script>
<bgsound src="powerpointmusic.mp3" loop="-1" />
</head>
<frameset rows="*" frameborder=0 onload="Load()" onunload="Unload()">
<frame name=PPTSld>
</frameset>
</html>
Make sure to copy the
powerpointmusic.mp3 file into the
_files folder too!
Now, upload the whole shabang to your website, making sure to keep the reletive folder locations the same, and then your users can link to the
2006photos.htm file for an in-browser slideshow (after they load the page, they'll need to press the
Slideshow button for the full-screen effect with music.
Let me know if something doesn't make sense!
EDIT: Oh, and it olny completely works in IE 5 or higher.
This post has been edited by groovicus: 23 March 2007 - 08:45 AM