简体   繁体   English

在IE11中,单击使用intro.js打开新页面的下一个或后退按钮

[英]In IE11, clicking on next or back button opening a new page using intro.js

If I use the arrow keys it works fine. 如果我使用箭头键,它工作正常。 But if I click on the next or back button opening a new page 但是,如果我点击下一个或后退按钮打开一个新页面

I am using setOptions like below: 我正在使用如下的setOptions:

setOptions({
    steps:[{
        element: '#cmsinput', 
        intro: 'ENTER URL HERE', 
        position:'bottom'
    }],
    'showStepNumbers': 'false'
});

You're having this problem because introJs considers the tour complete for this page. 您遇到此问题是因为introJs认为此页面的游览已完成。 The Done button runs the code in your oncomplete function. 完成按钮运行未完成功能中的代码。 You can change the text of the Done button using the doneLabel option. 您可以使用doneLabel选项更改“完成”按钮的文本。

doneLabel: 'Next Page'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM