/[suikacvs]/test/html-whatpm/table-script.js
Suika

Diff of /test/html-whatpm/table-script.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by wakaba, Tue May 6 07:50:28 2008 UTC revision 1.8 by wakaba, Tue May 6 08:47:09 2008 UTC
# Line 37  function tableToCanvas (table, parent, i Line 37  function tableToCanvas (table, parent, i
37      headerCellStrokeStyle: 'black',      headerCellStrokeStyle: 'black',
38      dataCellFillStyle: 'rgba(0, 0, 0, 0)',      dataCellFillStyle: 'rgba(0, 0, 0, 0)',
39      dataCellStrokeStyle: 'black',      dataCellStrokeStyle: 'black',
40        emptyDataCellStrokeStyle: '#C0C0C0',
41      overlappingCellFillStyle: 'red',      overlappingCellFillStyle: 'red',
42      overlappingCellStrokeStyle: 'rgba(0, 0, 0, 0)',      overlappingCellStrokeStyle: 'rgba(0, 0, 0, 0)',
43      highlightCellFillStyle: 'yellow'      highlightCellFillStyle: 'yellow'
# Line 140  for (var i = 0; i < table.cell.length; i Line 141  for (var i = 0; i < table.cell.length; i
141          c2d.fillStyle = c[0].is_header          c2d.fillStyle = c[0].is_header
142              ? param.headerCellFillStyle : param.dataCellFillStyle;              ? param.headerCellFillStyle : param.dataCellFillStyle;
143          c2d.strokeStyle = c[0].is_header          c2d.strokeStyle = c[0].is_header
144              ? param.headerCellStrokeStyle : param.dataCellStrokeStyle;              ? param.headerCellStrokeStyle
145                : c[0].is_empty
146                    ? param.emptyDataCellStrokeStyle
147                    : param.dataCellStrokeStyle;
148          if (c[0].id) {          if (c[0].id) {
149            var area = document.createElement ('area');            var area = document.createElement ('area');
150            area.shape = 'rect';            area.shape = 'rect';

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24