Index: lams_monitoring/web/monitorTour.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/web/Attic/monitorTour.jsp,v diff -u -r1.1.2.1 -r1.1.2.2 --- lams_monitoring/web/monitorTour.jsp 13 Mar 2017 12:48:33 -0000 1.1.2.1 +++ lams_monitoring/web/monitorTour.jsp 14 Mar 2017 04:06:31 -0000 1.1.2.2 @@ -1,8 +1,18 @@ <%-- The definition of Bootstrap Tour for monitor.jsp. Use storage: false so that it always starts at the first step otherwise the multiple tabs confuses matters. --%> var tour = null; function startTour() { - debugger; + + var selectedTabID = getCurrentTabID(); + var startStep = 0; + if ( selectedTabID == 2 ) { + startStep = 10; + } else if ( selectedTabID == 3 ) { + startStep = 18; + } + tourInProgress = true; + $('.tour-button').prop('disabled', true); + if ( tour == null ) { tour = new Tour({ name: "LAMSMonitorTour", @@ -20,11 +30,6 @@ element: "#tour-refresh-button", title: "", content: "", - placement: "bottom", - }, { - element: "#tour-help-button", - title: "", - content: "", placement: "left", },{ element: "#lessonStateLabel:first-child", @@ -62,7 +67,7 @@ element: "#chartDiv", title: "", content: "", - placement: "bottom", + placement: "left", onNext: switchToSequence },{ title: "", @@ -108,7 +113,7 @@ element: "#liveEditButton", title: "", content: "", - placement: "bottom", + placement: "left", onNext: switchToLearners },{ title: "", @@ -149,9 +154,11 @@ } ], onEnd: tourEnd, - debug: true, + debug: false, backdrop: false, - storage: false + storage: false, + template: '