I am trying to implement a scenario where i have a progress bar.start button and a refresh button. When I click the start Button, the progress bar starts from zero and proceeds till max size. At this point of time, the progress bar has a dark background and a yellow progress indicator moving from start to end. Once the progress bar reaches it's max size, the entire progress bar turns green. Now I need to click on the refresh button and restart the whole process(a dark background and a yellow progress indicator moving from start to end and a green progress bar in the end).
I use the following code to achieve a green colour at the end:
The problem I am facing is that once I set the color to green, the green color stays on the entire width of the progress bar and my progress indicator doesn't work anymore.
Please help. I am at my wits end
Bring me the box labeled "thinking cap" ... and then read this tiny ad: