Source for file multiple_vertical.php
Documentation is available at multiple_vertical.php 
@include '../../include_path.php';   
 * Multiple Vertical ProgressBar example.  
 * @version    $Id: multiple_vertical.php,v 1.2 2004/04/18 13:25:44 farell Exp $  
 * @author     Laurent Laville <pear@laurent-laville.org>  
require_once 'HTML/Progress.php';   
$bar1->setAnimSpeed (100 );   
$bar1->setBorderPainted (true );   
$ui1->setFillWay ('natural');   
$ui1->setCellAttributes ('active-color=#970038 inactive-color=#FFDDAA width=50 height=13');   
$ui1->setBorderAttributes ('width=1 color=#000000');   
$ui1->setStringAttributes (array (  
    'background-color' =>  '#C3C6C3',  
$bar2->setAnimSpeed (100 );   
$bar2->setBorderPainted (true );   
$ui2->setFillWay ('reverse');   
$ui2->setCellAttributes ('active-color=#3874B4 inactive-color=#FFDDAA width=50 height=13');   
$ui2->setBorderAttributes ('width=1 style=dashed color=#000000');   
$ui2->setStringAttributes (array (  
    'background-color' =>  '#C3C6C3',  
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  
    "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">  
<title>Multiple Vertical ProgressBar example</title>  
    background-color: #C3C6C3;  
    font-family: Verdana, Arial;  
a:visited, a:active, a:link {  
<script type="text/javascript">  
<?php echo  $bar1->getScript ();  ?>  
<h1> <?php echo  basename(__FILE__ );  ?></h1>  
<table class="container">  
    <td width="50%" align="center">  
<?php echo  $bar1->toHTML ();  ?>  
    <td width="50%" align="center">  
<?php echo  $bar2->toHTML ();  ?>  
    if ($bar2->getPercentComplete () == 1 ) {  
        break;    // the progress bar has reached 100% 
    if ($bar1->getPercentComplete () < 1 ) {  
<p><< <a href="index.html">Back examples TOC</a></p>  
 
 
        
		    
 
		    Documentation generated on Mon, 11 Mar 2019 10:15:08 -0400 by  phpDocumentor 1.4.4. PEAR Logo Copyright ©  PHP Group 2004.
	        
       |