Click here to Skip to main content
16,020,714 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had a problem about the progress bar

how to run and stopped progress bar on the way onclick displaying a progress bar without having to make a start and stop buttons

if you can help me
i have problem
Posted
Comments
ZeeroC00l 13-May-11 0:14am    
You question is not clear. Be more specific or clear about what you are looking for.

BR//
Harsha

how to run and stopped progress bar on the way onclick displaying a progress bar without having to make a start and stop buttons
This does not make much sense. There has to be two events, one start and one stop to show and then hide the progress bar.

Lets say, the button click event is the start event and at that time you do some interaction with server side. Once you get back response that is your stop event - when you hide the progress bar.

All you need to do is to keep a progress bar image on your page hidden, using display attribute of style. Once needed (just after button click) show it changing the value of display attribute to 'block', and once the stop event occurs, hide it again using display value as 'none'.

Try!
 
Share this answer
 
Comments
ZeeroC00l 13-May-11 0:18am    
My +5 :)
Spot on explanation.
Sandeep Mewara 13-May-11 0:39am    
Thanks.
In support to @S Mewara 's post :

You can take a look at the following links.


Code Project Link[^]


Coding Forum Link[^]

If you are looking for a little more Hi-Fi looking Progress Bar that uses JS and jQuerry take a look at the below link.

TUTSPLUS link [^]

BR//
Harsha
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900