You could also use CSS to put something else over the message after your done, which should eliminate the need for javascript. Adapt as you like.#!/usr/bin/perl -wT use strict; use CGI; $|=1; # turn of output buffering.. # do some setup stuff, and print HTML headers here # display a simple (looped & animated) "loading" image print <<ENDHTML; <img src="loading.gif" name="loading"> ENDHTML # load stuff from the database... print <<ENDHTML; <script language="JavaScript"> <!-- document.images['loading'].src = 'empty.gif'; //--> </script> ENDHTML # print output
In reply to Re: Timer - Progress Bar
by Joost
in thread Timer - Progress Bar
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |