What do you mean exactly?
I'm assuming you mean a multi-part form where the step graphic changes as you move through the form steps without page reload?
As you move through you would update the step graphic as appropriate.
How you would best achieve that through code would really depend on the form itself, it's purpose and the actual effects you want to have on the form; i.e. if the form slides, or if it just changes when you click next.