![]() HTML_Progress2 : The Definitive Guide
|
Table of Contents
This example has no particular goals. It should be your first run to show the minimum stuff required for a demo to works.
Example 18.1. Without any customization
<?php require_once 'HTML/Progress2.php'; $pb = new HTML_Progress2(); $pb->setAnimSpeed(100); ?> <!DOCTYPE html 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"> <head> <title>Progress2 Basic example</title> <?php echo $pb->getStyle(false); echo $pb->getScript(false); ?> </head> <body> <?php $pb->display(); $pb->run(); ?> </body> </html>
HTML_Progress2 : The Definitive Guide | v 1.0.0 : September 23, 2005 |