I just implemented the Table Cursor demo at http://cross-browser.com/x/examples/table_toys.php on my site, and it works great. The only problem is that it wipes out all my CSS styles, including background colors and cell padding.
This probably isn't the root of the problem, but the Table Cursor works - and my CSS styles stop working - when I insert my table's ID (tabPpl) in the following:
Is there a way to preserve your CSS styles, with a Table Cursor function simply changing the styles on a particular row and cell?Code:window.onload = function() { if (document.getElementById) { rowSetup(1, 2); rowSetup(2, 1); cellSetup(3, 4); cellSetup(4, 3); colSetup(5, 6); colSetup(6, 5); xtc = new xTableCursor('tabPpl', 'xtcInherit', 'xtcDefault', 'xtcHover', 'xtcSelected'); } }
Thanks.







Bookmarks