MadSci Network: Computer Science
Query:

Re: RE: html COMMANDS - HOW TO FLASH GIFS/JPEGS

Area: Computer Science
Posted By: William Beaty, Engineer / Interactive exhibit designer
Date: Mon Sep 16 14:28:52 1996
Message:
I'm aware of two ways of doing this: either use the "animation" feature built into GIFs, or
use the "refresh" feature in HTML.

You can use a shareware program to compile several GIFs into a single file, having time delays between displays of the images. The shareware is called GIF CONSTRUCTION SET FOR WINDOWS, from Alchemy Mindworks, available at Mindworkshop. This program can construct crude animations or slideshows. The later versions of Netscape and Explorer will view them, but old versions and other browsers might not have full GIF89 compliance and will display only the first GIF. ALso, Netscape will display the continuous-loop feature, while Explorer will play the sequence once and then stop.

The other way to play a sequence of GIF/JPEG is to put a "refresh" command in the head of your webpage, which makes a new webpage be automatically loaded after a selectable delay. The command for this is:
meta http-equiv="refresh" content="3;url=http://your.domain.com/page3.html", all inside angle-brackets.
Replace the "3" with however many seconds delay you wish, and replace the "your domain" url with the url of the next webpage to be displayed. This of course will reload an entire new webpage, not just the GIF/JPEG, but you can make a minimal page which contains only the GIF/JPEG. The newly-loaded page can have another "refresh" command, and crude animation can be had (or at least a slideshow) You can speed things up by having all your GIFs far down on the first page, so they will be buffered by the browser and will load fast on the next page. If you set the delay to 0, the next page will start loading as soon as the current one is done.

Current Queue | Current Queue for Computer Science | Computer Science archives

Try the links in the MadSci Library for more information on Computer Science.




MadSci Home | Information | Search | Random Knowledge Generator | MadSci Archives | Mad Library | MAD Labs | MAD FAQs | Ask a ? | Join Us! | Help Support MadSci
MadSci Network
webadmin@www.madsci.org