############################################################################## # Animation Version 1.2 # # Copyright 1996 Matt Wright mattw@scriptarchive.com # # Created 9/28/95 Last Modified 11/21/95 # # Matt's Script Archive, Inc. http://www.scriptarchive.com/scripts/ # ############################################################################## # If you run into any problems while trying to configure this scripts, help # # is available. The steps you should take to get the fastest results, are: # # 1) Read this file thoroughly # # 2) Consult the Matt's Script Archive Frequently Asked Questions: # # http://www.scriptarchive.com/scripts/help/faq/ # # 3) If you are still having difficulty installing this script, send # # e-mail to: scripts-help@tahoenet.com # # Include any error messages you are receiving and as much detail # # as you can so we can spot your problem. Also include the variable # # configuration block that is located at the top of the script. # # # # Hopefully we will be able to help you solve your problems. Thank you. # ############################################################################## # COPYRIGHT NOTICE # # Copyright 1996 Matthew M. Wright All Rights Reserved. # # # # Animation may be used and modified free of charge by anyone so long as # # this copyright notice and the comments above remain intact. By using this # # code you agree to indemnify Matthew M. Wright from any liability that # # might arise from it's use. # # # # Selling the code for this program without prior written consent is # # expressly forbidden. In other words, please ask first before you try and # # make money off of my program. # # # # Obtain permission before redistributing this software over the Internet or # # in any other medium. In all cases copyright and header must remain intact # ############################################################################## OverviewThis script allows you to implement animations in-lined into your HTML pages. It uses the idea of server push, where images are pushed down by the server to the client one after the other, which creates the look of an animation. There is not much to this script and it should not be hard to install onto your system. You will need to have Perl installed on your system and have access to execute CGI scripts either through a cgi-bin or a .cgi extension. Check with your system administrator to see if they allows either of these.
There are three variables that must be set in this script for it to work correctly:
Calling this animation script is as easy as in-lining an image. If your animation script is located at http://your.host.xxx/cgi-bin/nph-anim.pl, then you would call the animation simply by doing:<img src="http://your.host.xxx/cgi-bin/nph-anim.pl">Any other attribute to the image or animation can be added as normal, such as align, border, alt, etc... so that it would look like:<img src="http://your.host.xxx/cgi-bin/nph-anim.pl" align=left border=0 alt="Animation!"> Can I change the name of nph-anim.pl? Why does it have nph- in front of it?Good question. If you change the name of the script from nph-anim.pl to something without nph- on the front of it, you will need to comment out the line: More Frequently Asked QuestionsVersion 1.0 - 9/18/95 - First Version Released Version 1.1 - 11/4/95 - Version 1.1 Released with a minor fix explaining the nph- and header outputs. Version 1.2 - 11/21/95 - A small fix, suggested by Robert Wood <wood@nexen.com> helped improve the buffering of the output of the images.
Matt Wright - mattw@scriptarchive.com |