![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am using a table defined as: table id="AA" align="center" class="sortable" Where the class and the javascript are from Stuart Langridge., http://www.kryogenix.org/code/browser/sorttable/ I have two problems that are occurring. 1 - The CSS doesn't seem to be applying as the background color is not showing properly and the cursor is not a pointer. 2 - The table only wants to sort in descending order. This is inside a huge, proprietary application behind a firewall so I can't give a pointer to it. So, I tried to make up a simple example. When I did, the style applied but it didn't sort at all. The example is at http://www.sheldonlg.com/sorting.htm and the javascript is that from url at the top. |
#3
| |||
| |||
|
|
I am using a table defined as: table id="AA" align="center" class="sortable" Where the class and the javascript are from Stuart Langridge., http://www.kryogenix.org/code/browser/sorttable/ The class definition (in a css file) has in it: table.sortable thead { background-color:#EEEEEE; color:#666666; font: bold 14px Arial, Helvetica, sans-serif; cursor: pointer; } I have two problems that are occurring. 1 - The CSS doesn't seem to be applying as the background color is not showing properly and the cursor is not a pointer. 2 - The table only wants to sort in descending order. This is inside a huge, proprietary application behind a firewall so I can't give a pointer to it. So, I tried to make up a simple example. When I did, the style applied but it didn't sort at all. So, 1 - Can someone tell me what is wrong with the examples? 2 - Would anyone have a clue as to why I might have the original problem. The example is at http://www.sheldonlg.com/sorting.htm and the javascript is that from url at the top. |
#4
| |||
| |||
|
|
sheldonlg wrote on 26 mrt 2008 in comp.lang.javascript: I am using a table defined as: table id="AA" align="center" class="sortable" Where the class and the javascript are from Stuart Langridge., http://www.kryogenix.org/code/browser/sorttable/ The class definition (in a css file) has in it: table.sortable thead { background-color:#EEEEEE; color:#666666; font: bold 14px Arial, Helvetica, sans-serif; cursor: pointer; } I have two problems that are occurring. 1 - The CSS doesn't seem to be applying as the background color is not showing properly and the cursor is not a pointer. 2 - The table only wants to sort in descending order. This is inside a huge, proprietary application behind a firewall so I can't give a pointer to it. So, I tried to make up a simple example. When I did, the style applied but it didn't sort at all. So, 1 - Can someone tell me what is wrong with the examples? 2 - Would anyone have a clue as to why I might have the original problem. The example is at http://www.sheldonlg.com/sorting.htm and the javascript is that from url at the top. Perhaps you make an error confusing: sortable and sorttable ? |
#5
| |||
| |||
|
|
Posted to alt.html only, because Thunderbird hates cross-posting. |
#6
| |||
| |||
|
|
John Hosking wrote: Posted to alt.html only, because Thunderbird hates cross-posting. I use Thunderbird and I submitted it with a crosspost. |
|
Also, when I reply to a crosspost, it also crossposts. |
#7
| |||
| |||
|
|
sheldonlg wrote: John Hosking wrote: Posted to alt.html only, because Thunderbird hates cross-posting. I use Thunderbird and I submitted it with a crosspost. Yeah, I saw that. I'm also sure I've cross-posted in TB before, so I don't know what's going wrong. Time for more tests, I guess. Also, when I reply to a crosspost, it also crossposts. |
![]() |
| Thread Tools | |
| Display Modes | |
| |