请让我知道我需要做什么才能使以下示例中的向导窗口 https://github.com/amoffat/bootstrap-application-wizard,不是模态的,而是在页面加载时加载自身。
任何帮助将不胜感激。
梅尔罗伊
这不再相关,因为它已经完成
这是一个旧帖子,但解决方案可在引导 3 分支中找到
https://github.com/amoffat/bootstrap-application-wizard/tree/bootstrap-3
这可以通过在向导构造函数中将 isModal 属性设置为 false 来启用。
var wizard = $('#satellite-wizard').wizard({
keyboard : false,
contentHeight : 400,
contentWidth : 700,
isModal:false
});
奇怪的是,支持此功能的代码在下载链接上的发行版随附的插件源代码中不可用。但是,缩小版本(bootstrap-wizard.min.js)包含该功能。
<script src="../src/bootstrap-wizard.min.js" type="text/javascript"></script>