它来自
AdminBSB
,使用
jQuery Steps
插件。
您可以使用它,如演示中所示:
https://gurayyarar.github.io/AdminBSBMaterialDesign/pages/forms/form-wizard.html
<div id="wizard_horizontal">
<h2>First Step</h2>
<section>
<p>
Lorem ipsum...
</p>
</section>
<h2>Second Step</h2>
<section>
<p>
Donec mi sapien...
</p>
</section>
</div>
$('#wizard_horizontal').steps({
headerTag: 'h2',
bodyTag: 'section',
transitionEffect: 'slideLeft',
onInit: function (event, currentIndex) {
setButtonWavesEffect(event);
},
onStepChanged: function (event, currentIndex, priorIndex) {
setButtonWavesEffect(event);
}
});