[jQuery] Locking Column Heading or Locking Columns in a table

2009-12-15 Thread davec
When locking the column heading or locking a column on a scrollable table, I generally use code like the two following css parameters but I cannot figure out how to do this via jQuery. Could someone please give me a clue? To lock a column heading: top:expression(document.getElement

[jQuery] Changing colspan with jQuery

2009-12-17 Thread davec
I am trying to change the colspan attribute on some table cells when the user clicks on a button but it is not affecting the table. Perhaps someone can tell me what I am doing wrong. Here is my jQuery code: < $(document).ready(function() { $('#plusSign').click(function(){ $('.ba_toggle').

[jQuery] Changing colspan with jQuery

2009-12-17 Thread davec
I am trying to change the colspan attribute on some table cells when the user clicks on a button but it is not affecting the table. Perhaps someone can tell me what I am doing wrong. Here is my jQuery code: < $(document).ready(function() { $('#plusSign').click(function(){ $('.ba_toggle').

[jQuery] Re: Changing colspan with jQuery

2009-12-17 Thread davec
7;); >                 }); >                } else { >                    $('#plusSign').html('+'); >                 $('th.ba_colspan, td.ba_colspan').each(function() { >                     $(this).attr('bgColor','green'); &g

[jQuery] Why doesn't this render the page correctly?

2009-12-18 Thread davec
I am trying to dynamically change the colspan attribute on a group of cells using the code below: $(document).ready(function() { $('#plusSign').click(function(){ $('.ba_toggle').toggle(); if($('#plusSign').attr('src')=='../Images/ 1button_increase_colspan.gif') {