Source for file hidden.php
Documentation is available at hidden.php
@include '../include_path.php';
* Simple example that hide a progress meter at end of process.
* @version $Id: hidden.php,v 1.1 2004/06/27 18:30:54 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
require_once 'HTML/Progress.php';
user callback: job to do while the progress meter is visible
$obj->sleep(); // nothing to do here, except sleep a bit ...
$progress = new HTML_Progress ();
$progress->setAnimSpeed (100 );
$progress->setIncrement (10 );
$progress->setProgressHandler ('myFunctionHandler');
background-color: #CCCC99;
font-family: Verdana, Arial;
a:visited, a:active, a:link {
<?php echo $progress->getStyle (); ?>
<script type="text/javascript">
<?php echo $progress->getScript (); ?>
echo $progress->toHtml ();
<h1>Your job is finished ! </h1>
<p>The progress meter is now hidden.</p>
<p><< <a href="../index.html">Back examples TOC</a></p>
Documentation generated on Mon, 11 Mar 2019 13:52:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|