--- layout: default title: Bootstrap Tour slug: home ---

Bootstrap Tour

The easiest way to show people how to use your website.
Not using Bootstrap? It works anyway!

Add the dependencies

If you are using Bootstrap, include bootstrap-tour.min.css and bootstrap-tour.min.js:

{% highlight html %} ... {% endhighlight %}

Otherwise, just include bootstrap-tour-standalone.min.css and bootstrap-tour-standalone.min.js:

{% highlight html %} ... {% endhighlight %}

Setup your tour:

{% highlight javascript %} // Instance the tour var tour = new Tour( steps: [ { element: "#my-element", title: "Title of my step", content: "Content of my step" }, { element: "#my-other-element", title: "Title of my step", content: "Content of my step" } ]); // Initialize the tour tour.init(); // Start the tour tour.start(); {% endhighlight %}

Do you want to do more? Read the full documentation.

Code licensed under the Apache License v2.0.
Documentation licensed under CC BY 3.0.