in reply to Timer - Progress Bar
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Timer - Progress Bar
by radiantmatrix (Parson) on Dec 13, 2004 at 14:46 UTC | |
|
Re^2: Timer - Progress Bar
by simonm (Vicar) on Dec 13, 2004 at 18:42 UTC | |
|
Re^2: Timer - Progress Bar
by Anonymous Monk on Dec 13, 2004 at 19:42 UTC | |
by dennisrivers (Initiate) on Aug 24, 2005 at 02:00 UTC | |
|
Re^2: Timer - Progress Bar
by Anonymous Monk on Nov 19, 2013 at 06:09 UTC |