单击下一个按钮时,它会进入 xyz.html 页面,但不会显示弹出窗口或 xyz.html 页面的 jquery 中的内容。有谁知道为什么?
jQuery代码:
var tour = new Tour({
storage : false,
steps: [
{
element: "#ture-one",
title: "<div class='ture-number'>1</div><div class='ture-slide-box'><div class='ture-slide-number active'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div></div>",
placement: "bottom",
content: "<p>This is the Deployment Manager Dashboard.</p><p>It shows you which versions of your software are deployed to your different environments.</p>"
},
{
path: "xyz.html",
element: "#ture-two",
title: "<div class='ture-number'>2</div><div class='ture-slide-box'><div class='ture-slide-number'></div><div class='ture-slide-number active'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div><div class='ture-slide-number'></div></div>",
placement: "bottom",
content: "<p>This is the Deployment Manager Dashboard.</p><p>It shows you which versions of your software are deployed to your different environments.</p>"
}
]});
// Initialize the tour
tour.init();
// Start the tour
tour.start();
xyz.html 页面上的 HTML 代码:
<div class="project-info-box">
<h1>Project 1</h1>
<button class="btn btn-primary" id="ture-five" type="button">Deploy to</button>
</div>