##// END OF EJS Templates
Better tabindex support.
Brian E. Granger -
Show More
@@ -29,6 +29,7 var IPython = (function (IPython) {
29
29
30 CodeCell.prototype.create_element = function () {
30 CodeCell.prototype.create_element = function () {
31 var cell = $('<div></div>').addClass('cell border-box-sizing code_cell vbox');
31 var cell = $('<div></div>').addClass('cell border-box-sizing code_cell vbox');
32 cell.attr('tabindex','2');
32 var input = $('<div></div>').addClass('input hbox');
33 var input = $('<div></div>').addClass('input hbox');
33 input.append($('<div/>').addClass('prompt input_prompt'));
34 input.append($('<div/>').addClass('prompt input_prompt'));
34 var input_area = $('<div/>').addClass('input_area box-flex1');
35 var input_area = $('<div/>').addClass('input_area box-flex1');
@@ -30,6 +30,7 var IPython = (function (IPython) {
30 var left_panel_width = $('div#left_panel').outerWidth();
30 var left_panel_width = $('div#left_panel').outerWidth();
31 var left_panel_splitter_width = $('div#left_panel_splitter').outerWidth();
31 var left_panel_splitter_width = $('div#left_panel_splitter').outerWidth();
32 $('span#save_widget').css({marginLeft:left_panel_width+left_panel_splitter_width});
32 $('span#save_widget').css({marginLeft:left_panel_width+left_panel_splitter_width});
33 $('input#notebook_name').attr('tabindex','1');
33 };
34 };
34
35
35
36
@@ -27,6 +27,7 var IPython = (function (IPython) {
27
27
28 TextCell.prototype.create_element = function () {
28 TextCell.prototype.create_element = function () {
29 var cell = $("<div>").addClass('cell text_cell border-box-sizing');
29 var cell = $("<div>").addClass('cell text_cell border-box-sizing');
30 cell.attr('tabindex','2');
30 var input_area = $('<div/>').addClass('text_cell_input');
31 var input_area = $('<div/>').addClass('text_cell_input');
31 this.code_mirror = CodeMirror(input_area.get(0), {
32 this.code_mirror = CodeMirror(input_area.get(0), {
32 indentUnit : 4,
33 indentUnit : 4,
General Comments 0
You need to be logged in to leave comments. Login now