基于bootstrap的向導式插件:bootstrap-wizard

jopen 11年前發布 | 146K 次閱讀 JavaScript開發工具包 bootstrap-wizard

一款基于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);

項目主頁:http://www.baiduhome.net/lib/view/home/1386946395174

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!