小编ST'*_*T''的帖子

如何进行bootstrap-tour工作?

我在页面中有这个代码.我正在尝试使用bootstrap-tour工作,但它没有发生.我究竟做错了什么?我在这里错过了什么?

<!DOCTYPE html>
<html>
<head>

    <link href="bootstrap.css" rel="stylesheet">
    <link href="bootstrap-tour.css" rel="stylesheet">
    <link href="bootstrap-tour.min.css" rel="stylesheet">
    <!--[if lt IE 9]><script src="html5shiv.js"><![endif]-->
        <script>
    // Instance the tour
    var tour = new Tour();

    // Add your steps. Not too many, you don't really want to get your users sleepy
    tour.addSteps([
      {
      element: "#content", // string (jQuery selector) - html element next to which the step popover should be shown
      title: "Title of my step", // string - title of the popover
      content: "Content of …
Run Code Online (Sandbox Code Playgroud)

html jquery twitter-bootstrap bootstrap-tour

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

bootstrap-tour ×1

html ×1

jquery ×1

twitter-bootstrap ×1