基于bootstrap的向导式插件:bootstrap-wizard
jopen
11年前
一款基于bootstrap的向导式插件,
This 推ter bootstrap plugin builds a wizard out of a formatter tabbable structure. It allows to build a wizard functionality using buttons to go through the different wizard steps and using events allows to hook into each step individually.
示例代码:
//basic wizard $(document).ready(function() { $('#rootwizard').bootstrapWizard(); }); //wizard with options and events $(document).ready(function() { $('#rootwizard').bootstrapWizard({ tabClass: 'nav nav-pills', onNext: function(tab, navigation, index) { alert('next'); } }); }); //calling a method $('#rootwizard').bootstrapWizard('show',3);