html - Making a progress bar from a javascript counter -
I have a JavaScript function which takes time from the function. It starts from 00:00 like a counter and goes on a certain time. With a button the timer can be stopped / resumed and it works fine.
The javascript function has passed time and total time!
Now I have two csss:
# seek-bg and #search-bar I search horizontal on BG Want to find out what it is possible to do without jquery?
How do I connect timers and these CSS?
Code! # seek-bg {height: 3px; Background color: black; Width: 100px; Status: Relative; } #Search-bar {background color: white; Width: 4px; Height: 3px; }
I want to take the search-bg horizontally. Is it possible to do without jquery?
Yes it is possible. Take a look at the HTML5 progress bar:
& lt; Progress value = "10" max = "100" & gt; & Lt; / Progress & gt;
Comments
Post a Comment