mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
303 stars 164 forks source link

Auto step buttons #31

Open rparree opened 11 years ago

rparree commented 11 years ago

I have added autoSteps option here 9755a75e45. I will be using it in the next days, but so far it seems to work.

It automatically adds the step buttons in the top, when possible it makes the HTML more DRY (only when the step labels are the same as the step titles)

mstratman commented 11 years ago

Rather than making it an option, what do you think of automatically adding them if the elements don't already exist?

If that sounds good, please feel free to submit a pull request and I'd be happy to merge it.

rparree commented 11 years ago

Changed the code to check if the ul exists instead of using an option. WIll create pull requesr