| Source for file half_basic.phpDocumentation is available at half_basic.php 
@include '../include_path.php'; * Horizontal ProgressBar in indeterminate mode * without using the Progress_Monitor V2 solution. * @version    $Id: half_basic.php,v 1.1 2004/06/27 13:36:44 farell Exp $ * @author     Laurent Laville <pear@laurent-laville.org>require_once 'HTML/Progress.php'; *  This user callback process simulate a reply given after 12 seconds *  1. current value of the progress bar *  2. the progress bar (object) itself    /* rules to determine when switch back from indeterminate to determinate mode */    echo "myProgressHandler -> elapse time = $elapse s.<br/>\n ";        if ($bar->isIndeterminate()) {            $bar->setIndeterminate( false) ;$progress = new HTML_Progress() ;$ui = & $progress-> getUI() ;$ui->setProgressAttributes( array(    'background-color' => '#e0e0e0'$ui->setStringAttributes( array(    'background-color' => '#CCCC99'$ui->setCellAttributes( array($progress->setAnimSpeed( 200) ;$progress->setIncrement( 10) ;$progress->setStringPainted( true) ;     // get space for the string$progress->setString("") ;              // but don't paint it$progress->setIndeterminate( true) ;     // Progress start in indeterminate mode$progress->setProgressHandler('myProgressHandler') ;<title>Basic Indeterminate Mode Progress example</title>    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() ; ?><h1><?php echo basename( __FILE__) ; ?> </h1>echo $progress-> toHtml() ; <p><< <a href="../index.html">Back examples TOC</a></p>
		    
 
		    Documentation generated on Mon, 11 Mar 2019 13:52:37 -0400 by phpDocumentor 1.4.4 . PEAR Logo Copyright ©  PHP Group 2004.
	       |