My javascript function retrieves time from a specific function, acting as a countdown starting from 00:00 and running until a set time. The timer can be paused and resumed using a button, and it functions properly.
This javascript function provides information on both the elapsed time and the total time!
Now I am working with two CSS elements:
#seek-bg and #seek-bar
I aim to horizontally move the seek-bar along the seek-bg element. Is there a way to achieve this without utilizing jquery?
How should I tie in the timer functionality with these CSS elements?
Code!
#seek-bg {
height:3px;
background-color:black;
width:100px;
position:relative;
}
#seek-bar{
background-color:white;
width:4px;
height:3px;
}