It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Progressbar with remaining and final Time in seconds?

Progressbar with remaining and final Time in seconds?

Postby MGluateus on Wed Dec 10, 2008 5:08 pm

[delete this thread]
Last edited by MGluateus on Sat Dec 13, 2008 1:20 pm, edited 1 time in total.
MGluateus
 
Posts: 2
Joined: Wed Dec 10, 2008 4:51 pm

Re: Progressbar with remaining and final Time in seconds?

Postby rangana on Thu Dec 11, 2008 1:46 am

You are pointing to an element which doesn't exists on your markup (yet):
Code: Select all
document.getElementById('stateInPercent')


...you don't have the element with the id of "stateInPercent".

Try to download firebug (an FF extension), where it gives you the ability to debug your codes and error reporting.

Hope that helps.
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines

Re: Progressbar with remaining and final Time in seconds?

Postby MGluateus on Thu Dec 11, 2008 9:30 am

[delete this thread]
Last edited by MGluateus on Sat Dec 13, 2008 1:21 pm, edited 1 time in total.
MGluateus
 
Posts: 2
Joined: Wed Dec 10, 2008 4:51 pm

Re: Progressbar with remaining and final Time in seconds?

Postby rangana on Thu Dec 11, 2008 9:41 am

label is an inline element.

With that said, the width attribute would not work then.

Try to change this part:
Code: Select all
<label id="stateInPercent"></label>


...into:
Code: Select all
<label id="stateInPercent" style="display:block;"></label>
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines


Who is online

Users browsing this forum: No registered users and 6 guests