模板简介
模板使用简要说明
主题配色及保存
顶部导航对应侧边栏菜单切换
侧边栏菜单的JS初始化
点击侧边栏刷新
iframe版本右侧内容区域404问题
关于非iframe版本菜单高亮
iframe版本子页面内新建TAB
iframe中操作当前Tabs
iframe页面内的loading
多标签页(Multitabs)插件说明
关于multitabs的一些调整
调整左侧的宽度
webuploader使用时候的问题
关于模板的默认主题或者配色
关于模板的字体图标问题
关于版权和商业用途
模板中固有的插件
光年模板的loading和消息(v3)
rangeSlider滑块(v3)
bootstrap-datepicker日期(v3)
bootstrap-datepicker日期(v4)
bootstrap-datetimepicker日期时间(v3)
bootstrap-datetimepicker日期时间(v4)
perfect-scrollbar滚动条
Chart.js图表
bootstrap-colorpicker颜色选择
jquery-confirm对话框
jquery.tagsinput标签
bootstrap-notify消息(v4)
chosen.jquery关联选择
jquery.bootstrap.wizard向导
clockpicker时间选择(v4)
bootstrap-maxlength长度验证(v4)
bootstrap-select下拉选择(v4)
fullcalendar日程(v4)
bootstrap-table表格插件
插件项目包含插件
Date Range Picker时间段选择
material风格时间选择器
dropzone上传
uploadify上传
webuploader上传
H5图片上传
cropper图片裁剪
ckeditor富文本编辑器
editor.md编辑器
summernote富文本编辑器
tinymce富文本编辑器
ueditor富文本编辑器
wangeditor富文本编辑器
bootstrap-validate表单验证
jquery-validate表单验证
bootstrap-select下拉选择
bootstrap-selectN联动
bootstrap-lyear-select下拉
select2下拉
bootstrap-multiselect下拉多选
lyear-dropdowntree下拉树状
ZTree树形菜单
treeview树状插件
jstree树状结构
imgVer拼图滑块
sliderVerification滑块验证
bootstrap3-dialog模态框
layer弹窗
jquery.auto.complete自动填充
fixedheadertable固定表头
fontIconPicker图标选择
fullcalendar日程
jQuery Raty评分
lyear.loading加载
Bootstrap MaxLength长度验证
jquery.toolbar弹出式工具栏
jquery.bootstrap-touchspin输入框微调
插件项目包含示例
表单布局示例
聊天页面示例
logo处使用文字
模态框中使用Tab选项卡
模态框最大化
顶部消息示例
搜索布局
搜索布局2
搜索布局3
侧滑边栏区域
选择示例
选择示例2
选择示例3
代码演示切换
留言列表布局
数据统计布局
产品价格布局
搜索框
用户头像篇
动画篇
其他篇
另一种侧边栏菜单
jquery.bootstrap.wizard向导 - 光年模板说明文档 - 笔下光年
网站首页
jquery.bootstrap.wizard向导
插件使用version 1.4.2版本。 github地址:http://github.com/VinceG/twitter-bootstrap-wizard 文档地址:http://www.bootstrapwizard.com/ > 这个文档地址对应的版本太老旧了,参考意义不大。 ![](/uploads/images/20211229/6101d6504d04aeba9dea5166cf418190.png) 插件基础用法 ```javascript //basic wizard $(document).ready(function() { $('#rootwizard').bootstrapWizard(); }); ``` ```javascript //wizard with options and events $(document).ready(function() { $('#rootwizard').bootstrapWizard({ tabClass: 'nav nav-pills', onNext: function(tab, navigation, index) { alert('next'); } }); }); ``` ```javascript //calling a method $('#rootwizard').bootstrapWizard('show',3); ``` 选项 | Key | Default | Description | |------------------|-----------------------|-------------------------------------------------------------------------------------| | withVisible | true | Find only visible li step elements. Set to `false` if your steps display is hidden. | | tabClass | 'nav nav-pills' | ul navigation class | | nextSelector | '.wizard li.next' | next element selector | | previousSelector | '.wizard li.previous' | previous element selector | | firstSelector | '.wizard li.first' | first element selector | | lastSelector | '.wizard li.last' | last element selector | | backSelector | '.wizard li.back' | back element selector | | finishSelector | '.wizard li.finish' | finish element selector | 事件 | Key | Description | |-------------|----------------------------------------------------------------------------------------------------| | onInit | Fired when plugin is initialized | | onShow | Fired when plugin data is shown | | onNext | Fired when next button is clicked (return false to disable moving to the next step) | | onPrevious | Fired when previous button is clicked (return false to disable moving to the previous step) | | onFirst | Fired when first button is clicked (return false to disable moving to the first step) | | onLast | Fired when last button is clicked (return false to disable moving to the last step) | | onBack | Fired when back button is clicked (return false to disable moving backwards in navigation history) | | onFinish | Fired when finish button is clicked (return value is irrelevant) | | onTabChange | Fired when a tab is changed (return false to disable moving to that tab and showing its contents) | | onTabClick | Fired when a tab is clicked (return false to disable moving to that tab and showing its contents) | | onTabShow | Fired when a tab content is shown (return false to disable showing that tab content) | 方法 | Key | Parameters | Description | |------------------|--------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------| | next | | Moves to the next tab | | previous | | Moves to the previous tab | | first | | Jumps to the first tab | | last | | Jumps to the last tab | | back | | Moves back in navigation history by jumping to the former tab | | finish | | "Finishes" the wizard by calling onFinish callback | | show | zero based index or tab target id | Jumps to the specified tab | | currentIndex | | Returns the zero based index number for the current tab | | navigationLength | | Returns the number of tabs | | enable | zero based index | Enables a tab, allows a user to click it (removes .disabled if the item has that class) | | disable | zero based index | Disables a tab, disallows a user to click it (adds .disabled to the li element) | | display | zero based index | Displays the li element if it was previously hidden | | hide | zero based index | Hides the li element (will not remove it from the DOM) | | remove | zero based index, optinal bool remove tab-pane element or not false by default | Removes the li element from the DOM if second argument is true will also remove the tab-pane element | 涉及文件: - `lyear_pages_guide.html` - `js/jquery.bootstrap.wizard.min.js`
上一篇:
chosen.jquery关联选择
下一篇:
clockpicker时间选择(v4)