Implemented a short tour.

This commit is contained in:
James Cole
2015-07-11 10:01:13 +02:00
parent d59879db7d
commit 50752a5bfe
9 changed files with 106 additions and 188 deletions

View File

@@ -9,6 +9,16 @@ $(function () {
// do chart JS stuff.
drawChart();
}
$.getJSON('json/tour').success(function (data) {
var tour = new Tour({steps: data.steps, template: data.template});
// Initialize the tour
tour.init();
// Start the tour
tour.start();
});
});
function drawChart() {