##// END OF EJS Templates
add toolbar highlighting on hover
Paul Ivanov -
Show More
@@ -34,7 +34,18 b''
34 "cell_type": "markdown",
34 "cell_type": "markdown",
35 "metadata": {},
35 "metadata": {},
36 "source": [
36 "source": [
37 "Run a code cell using `Shift-Enter` or pressing the <button><i class=\"icon-play\" /></button> button in the toolbar above:"
37 "\n",
38 "<script type=\"text/javascript\">\n",
39 "var _toggle=false;\n",
40 "var hl = function (id, on){\n",
41 " $(id)[0].style.background = '';\n",
42 " if (on) {\n",
43 " $(id)[0].style.background = 'gold';\n",
44 " }\n",
45 "};\n",
46 "</script>\n",
47 "\n",
48 "Run a code cell using `Shift-Enter` or pressing the <button><i class=\"icon-play\" /></button> button in the <a href=\"#\" onMouseover=\"hl('#maintoolbar-container', 1)\" onMouseout=\"hl('#maintoolbar-container', 0)\">toolbar</a> above:"
38 ]
49 ]
39 },
50 },
40 {
51 {
@@ -79,7 +90,7 b''
79 "cell_type": "markdown",
90 "cell_type": "markdown",
80 "metadata": {},
91 "metadata": {},
81 "source": [
92 "source": [
82 "Code is run in a separate process called the IPython Kernel. The Kernel can be interrupted or restarted. Try running the following cell and then hit the <button><i class='icon-stop'/></button> button in the toolbar above."
93 "Code is run in a separate process called the IPython Kernel. The Kernel can be interrupted or restarted. Try running the following cell and then hit the <button><i class='icon-stop'/></button> button in the <a href=\"#\" onMouseover=\"hl('#maintoolbar-container', 1)\" onMouseout=\"hl('#maintoolbar-container', 0)\">toolbar</a> above."
83 ]
94 ]
84 },
95 },
85 {
96 {
General Comments 0
You need to be logged in to leave comments. Login now