[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Displaying numbers in HTML



Don't know exactly you want to do, but the problem with HTML in general 
is that it's a static environment.  Once you display something on a page 
(for the most part), it's very difficult to change.  Depending on what 
exactly you want to do, you can:

1)  Split the page up into frames, and have one of the pages be a cgi 
script which constantly refreshes, and reads from your datafile.

2)  Display your data in a form field, and constantly change the contents 
of the form field with JavaScript.  Unfortunately, JavaScript is a 
client-side language, and it wouldn't have access to a file on the server 
side.

3)  Do something in terms of an animated gif.

Hope this helps

On Sat, 20 Sep 1997, Richard Duff wrote:

> I don't know how active this list is, but maybe someone can help me.  I
> want to display a number in the middle of an HTML doc, but not in
> graphical form.  The number will change periodically, so I am using a
> cgi script to change the text file where the number is stored.  Is there
> an easier way to accomplish this than converting the entire HTML doc to
> a cgi script and placing it in my cgi-bin?
> 
> Dakota Duff
> 
> ***** Want to unsubscribe from this list?
> ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch
> 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

  Nam-June Joe                           namjj@eclipse.net
  US Applications Develpment             njoe@sbi.com
  Salomon Brothers, Inc.                 namjj@seas.upenn.edu
  University of Pennsylvania '96         http://www.eclipse.net/~namjj/

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch