It hurt so much that I try to use all kinds of options for web hosting, where there is a power point that was broken or required flash, so I made my own.
My solution uses a very simple javascript function to simply scroll / replace the GIF image tag that I saved from the Power Point presentation itself.
In the Power Point view, click Save As and select GIF. Select the quality you want to display the presentation on. Power Point will save one GIF image for each slide and name it Slide1.GIF, Slide2.GIF, etc.
Create an HTML page and add an image tag to display Power Point GIFs.
<img src="Slide1.GIF" id="mainImage" name="mainImage" width="100%" height="100%" alt="">
Add the first, previous, next, and last clickable objects with the onClick action, as shown below:
<a href="#" onclick="swapImage(0);"><img src="/images/first.png" border=0 alt="First"></a> <a href="#" onclick="swapImage(currentIndex-1);"><img src="/images/left.png" border=0 alt="Back"></a> <a href="#" onclick="swapImage(currentIndex+1);"><img src="/images/right.png" border=0 alt="Next"></a> <a href="#" onclick="swapImage(maxIndex);"><img src="/images/last.png" border=0 alt="Last"></a>
Finally, add the following javascript function, which, when called, captures the next Slide.GIF image and displays it in the img tag.
<script type="text/javascript"> //Initilize start value to 1 'For Slide1.GIF' var currentIndex = 1; //NOTE: Set this value to the number of slides you have in the presentation. var maxIndex=12; function swapImage(imageIndex){ //Check if we are at the last image already, return if we are. if(imageIndex>maxIndex){ currentIndex=maxIndex; return; } //Check if we are at the first image already, return if we are. if(imageIndex<1){ currentIndex=1; return; } currentIndex=imageIndex; //Otherwise update mainImage document.getElementById("mainImage").src='Slide' + currentIndex + '.GIF'; return; } </script>
Make sure GIFs are available on the HTMl page. By default, they will be in the same directory, but you should be able to see the logic and how to set the image directory, if required
I have training material for my company that uses this method at http://www.vanguarddata.com.au , so before you spend any time, try it, watch in action.
I hope this helps someone else who has as many headaches as I do .....
Dean Jul 03 '12 at 10:21 2012-07-03 10:21
source share