Javascript game: moving bar
<p>I'm programing a penalty kick off game (javascrit + CSS3) and I need your help to figure out how to build the "pick up your shooting power" screen. </p>

<p>Like in those golf games I want it to have a bar that moves from left to right ascending and then descending non stop. The player has to click on the bar and the bar stops selecting the power with which the penalty will be shooted. </p>

<p>How can I do that?</p>
