Source for file litebasic.php
Documentation is available at litebasic.php
Demonstration of the basic features of Progress2_Lite
version of Progress2 without any dependencies
@version $Id: litebasic.php,v 1.1 2005/06/12 21:05:18 farell Exp $
@author Laurent Laville <pear@laurent-laville.org>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<title>Progress2 Lite - Simple Example</title>
<p style="background-color:white;width:400px;height:200px;"> </p>
<h1>Positionning sheme</h1>
<p>Default behaviour.</p>
require_once 'HTML/Progress2_Lite.php';
* NOTE: The function {@link http://www.php.net/manual/en/function.usleep.php}
* did not work on Windows systems until PHP 5.0.0
if ((substr(PHP_OS , 0 , 3 ) == 'WIN') && (substr(PHP_VERSION ,0 ,1 ) < '5') ){
for ($i=0; $i< $usecs; $i++ ) { }
// Creates a new progress bar 300 pixels width and 30 pixels height
// Adds additional text label
$pbl->addLabel ('text','txt1','Progress2 Lite - Simple Example');
for($i=1; $i<=100; $i++ ) {
Documentation generated on Mon, 11 Mar 2019 14:16:23 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|