Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make bootstrap-tour work?
    primarykey
    data
    text
    <p>I have this code in a page. I'm trying to make bootstrap-tour work but it's not happening. What am I doing wrong? What am I missing here?</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;link href="bootstrap.css" rel="stylesheet"&gt; &lt;link href="bootstrap-tour.css" rel="stylesheet"&gt; &lt;link href="bootstrap-tour.min.css" rel="stylesheet"&gt; &lt;!--[if lt IE 9]&gt;&lt;script src="html5shiv.js"&gt;&lt;![endif]--&gt; &lt;script&gt; // 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 my step" // string - content of the popover }, { element: "#content1", title: "Title of my step", content: "Content of my step" } ]); // Initialize the tour tour.init(); // Start the tour tour.start(); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="#content"&gt; Hello, World! &lt;/div&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;div id="#content1"&gt; Another Hello, World! &lt;/div&gt; &lt;script src="jquery.js"&gt;&lt;/script&gt; &lt;script src="bootstrap.tooltip.js"&gt;&lt;/script&gt; &lt;script src="bootstrap.popover.js"&gt;&lt;/script&gt; &lt;script src="bootstrap-tour.js"&gt;&lt;/script&gt; &lt;script src="bootstrap-tour.min.js"&gt;&lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>I searched in google but it seems no one has ever had any trouble in getting the tour set-up. I don't know what am I missing. Can be some simple thing. Help me guys. I've included these files:</p> <p>CSS::</p> <pre><code>Bootstrap.css v3.0.0 bootstrap-tour.css - v0.8.0 bootstrap-tour.min.css - v0.8.0 </code></pre> <p>JS::</p> <pre><code>bootstrap-tour.min.js - v0.8.0 bootstrap-tour.js - v0.8.0 bootstrap-popover.js v2.0.4 bootstrap-tooltip.js v2.0.4 jQuery JavaScript Library v1.9.0 </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload