You might use the following method, which will work under Internet Explorer.
<HTML>
.. etc
<TABLE>
<TR>
<TD ID="TD1" CLASS="NOTDONE"></TD>
" " " TD2
etc
TD6
</TR>
</TABLE>
<SCRIPT>
var which=1;
function progress_bar()
{
eval("TD"+which+".className='DONE'");
which++;
if (which>6) clearTimeout();
}
window.setTimeout('progress_bar()',10000);
</SCRIPT>
...etc
</HTML>
-----Original Message-----
From: Reuben D Budiardja [mailto:[EMAIL PROTECTED]]
Sent: 09 May 2001 16:24
To: Jacky; [EMAIL PROTECTED]
Subject: Re: [PHP] progession bar
I remember that a somewhat similar issues was discussed here sometime ago.
Check the list archives ( I think the subject was "Progress Bar").
Hope that will give you some ideas also.
Reuben D. B
At 12:32 PM 5/9/01 -0500, Jacky wrote:
>Hi all
>Does any one know how to do the progession bar to mesure the time out?
>Like give it 1 minute for the bar to progress, I got some logic here but
>something still unclear to me.
>The procedures I see are
>1. get curren time when the page is loaded
>2. add 60 seconds on that current time value to tell when to stop the bar
>3. make a table , 6 rows so each row repersent every 10 seconds
>4. This is the bit where I got stuck, how do I change the color of table
>cell every 10 secs for 6 times.
>any help will be thankful
>Jack
>[EMAIL PROTECTED]
>"There is nothing more rewarding than reaching the goal you set for
yourself"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]