This example has no particular goals. It should be your first run
to show the minimum stuff required for a demo to works.
Example 21.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>