Source for file bgimages.php
Documentation is available at bgimages.php 
@include '../../include_path.php';   
 * Natural Horizontal with background images ProgressBar example.  
 * See also ProgressMaker usage with pre-set UI model 'BgImages'.  
 * @version    $Id: bgimages.php,v 1.2 2004/04/18 13:25:43 farell Exp $  
 * @author     Laurent Laville <pear@laurent-laville.org>  
require_once 'HTML/Progress.php';   
$bar = new HTML_Progress ();   
$bar->setBorderPainted (true );   
$ui->setCellAttributes (array (  
    'active-color' =>  '#000084',  
    'inactive-color' =>  '#3A6EA5',  
    'background-image' =>  'download.gif'  
$ui->setBorderAttributes ('width=1 style=inset color=white');   
$ui->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>BgImages Progress example</title>  
<?php echo  $bar->getStyle ();  ?>  
    background-color: #C3C6C3;  
    font-family: Verdana, Arial;  
a:visited, a:active, a:link {  
<script type="text/javascript">  
<?php echo  $bar->getScript ();  ?>  
<h1> <?php echo  basename(__FILE__ );  ?></h1>  
    if ($bar->getPercentComplete () == 1 ) {  
        break;    // the progress bar has reached 100% 
<p><< <a href="index.html">Back examples TOC</a></p>  
 
 
        
		    
 
		    Documentation generated on Mon, 11 Mar 2019 10:15:07 -0400 by  phpDocumentor 1.4.4. PEAR Logo Copyright ©  PHP Group 2004.
	        
       |