Todo List
HTML_Common | --HTML_Progress2 | --myBar
The HTML_Progress2 class allow you to add a loading bar to any of your xhtml document. You should have a browser that accept DHTML feature.
Here is a basic example: <?php require_once 'HTML/Progress2.php'; $pb = new HTML_Progress2(); $pb->setAnimSpeed(50); ?> <html> <head> <?php echo $pb->getStyle(false); echo $pb->getScript(false); ?> </head> <body> <?php $pb->display(); $pb->run(); ?> </body> </html>
<?php require_once 'HTML/Progress2.php'; $pb = new HTML_Progress2(); $pb->setAnimSpeed(50); ?> <html> <head> <?php echo $pb->getStyle(false); echo $pb->getScript(false); ?> </head> <body> <?php $pb->display(); $pb->run(); ?> </body> </html>
myBar myBar( )
void notify( &$notification)