[HTML_Progress] FAQ on new version 1.1 (and also a RFC)
| From: | Laurent Laville | Date: | Thu, 19 Feb 2004 09:10:33 +0000 |
| Subject: | [HTML_Progress] FAQ on new version 1.1 (and also a RFC) | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-25716@lists.php.net to get a copy of this message | ||
On changes of version 1.1, i've added a new method SetAnimSpeed()
to make cell display animation , slower (=1000) or faster (=0).
By default animation is set to 0, so there is no delay between each cell
display.
It could be a problem if your user-process is not so huge. So you have to
choose a delay
between 0 and 1000 and put in in your script like that :
<?php
require_once ('HTML/Progress.php');
$bar = new HTML_Progress();
$bar->setAnimSpeed(100); // [1]
...
?>
A value of 100 seems reasonable. I forgot to put line [1] inside each
examples in bundle binary distribution
and also on online demos.
The last point is now fixed. Demos will not seems to have progress bar
frozen at 100% now.
Sorry for inconvenience during the last 4 days !
[RFC ] I think the delay should be 0 by default, to produce no delay in
process.
Remember on version 1.0 i've put a sleep(1) on display() method.
What do you think. Default delay should be 0 or perharps 100 ?
Feedback are welcome
Laurent Laville
-----------------------
PHP For Ever http://pear.php.net/user/farell