Php smartwizard 4中的所有活动步骤
我已经将smartwizard包含在我的应用程序的表单中,在插入过程中,它非常有效。 但是,在更新过程中,我希望显示已访问的所有步骤,这样用户就可以直接进入所需的选项卡,而不是单击“下一步”按钮。 我怎样才能做到这一点?Php smartwizard 4中的所有活动步骤,php,jquery,smart-wizard,Php,Jquery,Smart Wizard,我已经将smartwizard包含在我的应用程序的表单中,在插入过程中,它非常有效。 但是,在更新过程中,我希望显示已访问的所有步骤,这样用户就可以直接进入所需的选项卡,而不是单击“下一步”按钮。 我怎样才能做到这一点? 我知道我可能需要更改主js文件中的_setEvents函数,即jquery.smartWizard.min.js,但我似乎无法解决这个问题。在anchorSettings中找到了答案。 添加“AnchorsSettings”参数并更改值,如下所示: anchorClickabl
我知道我可能需要更改主js文件中的_setEvents函数,即jquery.smartWizard.min.js,但我似乎无法解决这个问题。在anchorSettings中找到了答案。 添加“AnchorsSettings”参数并更改值,如下所示:
anchorClickable : true, // Enable/Disable anchor navigation
enableAllAnchors : true, // Activates all anchors clickable all times
markDoneStep : true, // add done css
enableAnchorOnDoneStep : true // Enable/Disable the done steps navigation
尝试将enableAllSteps设置为true:
$('#wizard').smartWizard({enableAllSteps: true});
$('#smartwizard').smartWizard({
selected: 0,
theme: 'default',
transitionEffect: 'fade',
showStepURLhash: false,
anchorSettings: {
anchorClickable: true, // Enable/Disable anchor navigation
enableAllAnchors: true, // Activates all anchors clickable all times
markDoneStep: true, // add done css
enableAnchorOnDoneStep: true // Enable/Disable the done steps navigation
},
lang: { next: 'Next', previous: 'Previous' }
});