Source for file rectangle.php
Documentation is available at rectangle.php
@include '../include_path.php';
* Basic Rectangle Progress example.
* @version $Id: rectangle.php,v 1.1 2004/06/29 20:48:52 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
require_once 'HTML/Progress.php';
$bar = new HTML_Progress ();
$ui->setStringAttributes ('valign=bottom align=center width=90 height=30');
$ui->setCellAttributes (array (
'inactive-color' => 'orange',
$ui->setCellCoordinates (6 ,4 ); // Rectangle 6x4
<title>Basic Rectangle ProgressBar example</title>
<?php echo $bar->getStyle (); ?>
background-color: #FFFFFF;
font-family: Verdana, Arial;
a:visited, a:active, a:link {
<script type="text/javascript">
<?php echo $ui->getScript (); ?>
<h1> <?php echo basename(__FILE__ ); ?></h1>
<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.
|