Show More
@@ -13,9 +13,9 var step_duration = 5000; | |||||
13 | var tour_steps = [ |
|
13 | var tour_steps = [ | |
14 | { |
|
14 | { | |
15 | element: $("#ipython_notebook").parent(), |
|
15 | element: $("#ipython_notebook").parent(), | |
16 |
title: " |
|
16 | title: "Welcome to the Notebook Tour", | |
17 | placement: 'bottom', |
|
17 | placement: 'bottom', | |
18 |
content: "This |
|
18 | content: "This tour will take 2 minutes.", | |
19 | backdrop: true, |
|
19 | backdrop: true, | |
20 | }, { |
|
20 | }, { | |
21 | element: "#ipython_notebook", |
|
21 | element: "#ipython_notebook", | |
@@ -73,6 +73,12 var tour_steps = [ | |||||
73 | onHide: function(tour) { IPython.notebook.command_mode(); }, |
|
73 | onHide: function(tour) { IPython.notebook.command_mode(); }, | |
74 | content: "Notice that the border around the currently active cell changed color." |
|
74 | content: "Notice that the border around the currently active cell changed color." | |
75 | }, { |
|
75 | }, { | |
|
76 | element: $('.selected'), | |||
|
77 | title: "back to Command Mode", | |||
|
78 | placement: 'bottom', | |||
|
79 | onHide: function(tour) { IPython.notebook.command_mode(); }, | |||
|
80 | content: "Pressing Esc or clicking outside of the input text area takes you back to command mode." | |||
|
81 | }, { | |||
76 | element: "#kernel_indicator", |
|
82 | element: "#kernel_indicator", | |
77 | title: "Kernel indicator", |
|
83 | title: "Kernel indicator", | |
78 | placement: 'bottom', |
|
84 | placement: 'bottom', | |
@@ -86,6 +92,9 var tour_steps = [ | |||||
86 | content: "The Kernel indicator looks like this when the Kernel is busy.", |
|
92 | content: "The Kernel indicator looks like this when the Kernel is busy.", | |
87 | } |
|
93 | } | |
88 | ]; |
|
94 | ]; | |
|
95 | ||||
|
96 | tour_steps[0].content = "This tour will take " + step_duration * tour_steps.length / 1000 + " seconds"; | |||
|
97 | ||||
89 | var tour = new Tour({ |
|
98 | var tour = new Tour({ | |
90 | //orphan: true, |
|
99 | //orphan: true, | |
91 | storage: false, // start tour from beginning every time |
|
100 | storage: false, // start tour from beginning every time |
General Comments 0
You need to be logged in to leave comments.
Login now