jquery - 带有 5 个步骤的 jQuery 步骤
问题描述
我无法完成“jQuery Steps 向导插件(http://www.jquery-steps.com/)”使用 5 个步骤,我可以显示五个步骤,但是当我按下它时,下一个按钮不会进入五个步骤第四步。
我改变了“stepwizard.css”:
.wizard > .steps > ul > li
{
width: 25%;
}
至:
.wizard > .steps > ul > li
{
width: 20%;
}
我不知道我是否必须更改 JavaScript,有人使用超过 4 个步骤吗?
配置:
var settings = {
/* Appearance */
headerTag: "h1",
bodyTag: "div",
contentContainerTag: "div",
actionContainerTag: "div",
stepsContainerTag: "div",
cssClass: "wizard",
stepsOrientation: $.fn.steps.stepsOrientation.horizontal,
/* Templates */
titleTemplate: '<span class="number">#index#.</span> #title#',
loadingTemplate: '<span class="spinner"></span> #text#',
/* Behaviour */
autoFocus: false,
enableAllSteps: true,
enableKeyNavigation: true,
enablePagination: true,
suppressPaginationOnFocus: true,
enableContentCache: true,
enableCancelButton: false,
enableFinishButton: true,
preloadContent: false,
showFinishButtonAlways: false,
forceMoveForward: false,
saveState: false,
startIndex: 0,
/* Transition Effects */
transitionEffect: $.fn.steps.transitionEffect.none,
transitionEffectSpeed: 200,
解决方案
推荐阅读
- python - 情节:在悬停标签中显示值,而不是在堆积面积图中显示百分比`groupnorm ='percent'`
- php - 如何在 cURL 中使用 shadowsocks 代理?
- javascript - 收到此错误类型错误:无法读取未定义的属性“SearchUserIp”
- python - Tkinter - 无法从另一种方法设置的全局变量中获取值
- ios - 有多个项目的粘贴板
- database - 如何计算配置单元中一条记录的大小?
- python - 使用 Python3 和 imageio 错误地保存 .tif 图像
- python - 如何键入提示在 Python 中返回其参数的可变参数函数
- php - 如何将变量注入另一个值变量
- haskell - 如何添加城市以测试具有数据类型的数据