Solved

slide show

Posted on 1997-08-29
1
306 Views
Last Modified: 2013-12-25
I am trying to figure out how to put a slidshow on my webpage.  I have about 40 images that I would like to make a slideshow presentation of.  I would like to be able to adjust the duration each slide is up and also be able to stop the show.  I was thinking the best way is with Java.

What I currently have is just meta tags causing a new html file(one for each image) to be read in every 5 seconds.  With this method I can not stop or adjust the duration.  Is there a way with html to add a stop and play button?
0
Comment
Question by:micah
1 Comment
 
LVL 4

Accepted Solution

by:
jshamlin earned 25 total points
ID: 1854854
In HTML, there's no way to interrupt or alter the reloading of pages using META tags (I'm guessing that's what you're doing now) - using the browser's "STOP" button stops the load, but the seconds to reload keep ticking (in some browsers, in others that stops too) and "reload" will reset the time.  Not much control at all.

An animated GIF would be another simple alternative - but you can't alter the intervals programatically (and GIF format isn't very good if the images are photos), so it doesn't quite fit your needs.

You're still left with a few options: Java, JavaScript, or a plug-in technology like Shockwave.

I usually rail against Shockwave, but for this sort of interactive multimedia, I think it may be your best option.  'Course that means buying Macromedia Director of Flash (the latter, much cheaper than the former, would probably suffice).  There may be other, more affordable plug-in technologies with similar capabilites that I don't know about (having dropped the cash for Director, I don't spend much time looking around).

Java would be more universal - but the problem will be load time - every one of those 40 images would have to pre-load in memory, so you'd be looking at a pretty big applet.  Also, there may or may not be a "pre-written" applet (check http://www.gamelan.com for freeware/shareware applets), so you might still have to buy a Java compiler and learn the language.

Last of the three, JavaScript, is probably the easiest and cheapest solution - but using it will constrain your audience to Netscape users.  I think with some creative coding and FRAMES, you could get around the image[] object and include IE users as well, but it would still require frames-capability.

Anyhoo - any one of those solutions should work, but you'll need to consider your specific budget, expertise, and audience to decide which to employ.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This video teaches users how to migrate an existing Wordpress website to a new domain.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now