Javascript back button

  • Thread starter Thread starter Tim Long
  • Start date Start date
T

Tim Long

Hello,
I have a presentation (Powerpoint 2003) where I have created "previous
slide" and "next slide" buttons and they work just fine. I've exported this
presentation as a website for an intranet site and all is well.
The problem is I get in a loop with the previous slide buttons and would
like to use the javascript:history.back() code for the back button. These
buttons are on the master slide.
I go to the master slide, click on the "back" button that I created, then
use the insert script command so the Microsoft script editor comes up with
the code for the page. I cannot find where to enter my javascript code
because nothing is highlited or letting me know what the button name is. I
did manage to tell the program that I want to use javascript and not
VBscript but not sure if that worked correctly.
Whew! . . . Thanks for any help
Tim
 
Hello,
I have a presentation (Powerpoint 2003) where I have created "previous
slide" and "next slide" buttons and they work just fine. I've exported this
presentation as a website for an intranet site and all is well.
The problem is I get in a loop with the previous slide buttons and would
like to use the javascript:history.back() code for the back button. These
buttons are on the master slide.
I go to the master slide, click on the "back" button that I created, then
use the insert script command so the Microsoft script editor comes up with
the code for the page. I cannot find where to enter my javascript code
because nothing is highlited or letting me know what the button name is. I
did manage to tell the program that I want to use javascript and not
VBscript but not sure if that worked correctly.

I don't believe you can add javascript this way. You'd have to add it to the
appropriate HTML file(s) after generating them from PPT.

Alternatively, our PPT2HTML uses javascript:history.back when it translates
Previously Viewed Slide actions to HTML. Free full-functional demo and info at
http://ppt2html.pptools.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top