471,602 Members | 1,238 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,602 software developers and data experts.

Is is possible to creatle a timed slide show + controls

I am converting powerepoint presentations to images I want to display
as slide shows.
My questions is I want it so that when a link is clike the slide show
opens. The slides will be initially timed but there are also controls
so that if they want to go back or advance the images at their own
pace. Is this too complicated??

I know how to make a slow that displays images ina times sequence, but
Ive never added controls that would stop the sequence.

Let me know if you need more expanation.

Jun 22 '06 #1
1 1549
Ga**************@gmail.com said the following on 6/22/2006 2:24 PM:
I am converting powerepoint presentations to images I want to display
as slide shows.
My questions is I want it so that when a link is clike the slide show
opens. The slides will be initially timed but there are also controls
so that if they want to go back or advance the images at their own
pace. Is this too complicated??

I know how to make a slow that displays images ina times sequence, but
Ive never added controls that would stop the sequence.

Let me know if you need more expanation.


Since your timed slideshow is based on either setTimeout or setInterval,
then you define a pointer:

var myInterval = window.setInterval(...)

And then, you have a button:

<button onclick="window.clearInterval(myInterval)">
Stop the slideshow</button>

<button onclick="var myInterval = window.setInterval(...)">
Start the slideshow</button>

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Temporarily at: http://members.aol.com/_ht_a/hikksnotathome/cljfaq/
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jun 22 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Michael Burtenshaw | last post: by
3 posts views Thread by B Maxey | last post: by
7 posts views Thread by Rudy | last post: by
reply views Thread by bg_ie | last post: by
reply views Thread by Ed Sproull [MSFT] | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.