cvs: pear /HTML_Progress/examples/indeterminate half_monitor.php
| From: | Laurent Laville | Date: | Thu, 08 Jul 2004 17:32:06 +0000 |
| Subject: | cvs: pear /HTML_Progress/examples/indeterminate half_monitor.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21655@lists.php.net to get a copy of this message | ||
farell Thu Jul 8 13:32:06 2004 EDT
Modified files:
/pear/HTML_Progress/examples/indeterminate half_monitor.php
Log:
smooth animation
http://cvs.php.net/diff.php/pear/HTML_Progress/examples/indeterminate/half_monitor.php?r1=1.1&r2=1.2&ty=u
Index: pear/HTML_Progress/examples/indeterminate/half_monitor.php
diff -u pear/HTML_Progress/examples/indeterminate/half_monitor.php:1.1
pear/HTML_Progress/examples/indeterminate/half_monitor.php:1.2
--- pear/HTML_Progress/examples/indeterminate/half_monitor.php:1.1 Sun Jun 27 09:36:44 2004
+++ pear/HTML_Progress/examples/indeterminate/half_monitor.php Thu Jul 8 13:32:06 2004
@@ -4,7 +4,7 @@
* Horizontal ProgressBar in indeterminate mode
* using the Progress_Monitor V2 solution (with QF renderer).
*
- * @version $Id: half_monitor.php,v 1.1 2004/06/27 13:36:44 farell Exp $
+ * @version $Id: half_monitor.php,v 1.2 2004/07/08 17:32:06 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
* @package HTML_Progress
*/
@@ -22,6 +22,7 @@
$obj->setCaption("completed $c out of 400");
$bar =& $obj->getProgressElement();
+ $bar->sleep();
/* rules to determine when switch back from indeterminate to determinate mode */
if ($c >= 240 && $bar->isIndeterminate()) {
$bar->setIndeterminate(false);