Bootstrap Tour test

A test page for Bootstrap tour issues.

by andrewjg

HTML

<script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.0.1/bootstrap.min.js"></script>
<script src="https://raw.github.com/pushly/bootstrap-tour/master/bootstrap-tour.js"></script>
<script src="https://github.com/carhartl/jquery-cookie/raw/master/jquery.cookie.js"></script>
<input id="one" value="one"/><br/>
<input id="two" value="two"/><br/>
<input id="three" value="three"/><br/>

CSS

@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css');

JavaScript

var tour = new Tour();

tour.addStep({
  element: "#one",
  title: "Step 1",
  content: "Content for step 1"
});

tour.addStep({
  element: "#one",
  title: "Step 2",
  content: "Content for step 2"
});

tour.addStep({
  element: "#three",
  title: "Step 3",
  content: "Content for step 3"
});

tour.restart();