View Full Version : sortTable.js Question

11-09-2012, 09:45 PM
I have a simple sortable html table on my website. SortTable.js is doing its job in the sense that clicking on the headers allows the columns to be sorted. The problem is that the mouse-over does not change the cursor, my cursor just remains a text cursor. I was wondering how I would go about changing this. Also, I was wondering how I would add a hover attribute to the heading attributes. I know how to add the hover attribute to links, but since the table headers aren't links I am a little confused as to how I go about this.

Thank You

Old Pedant
11-09-2012, 10:26 PM
Nothing to do with JavaScript. Just use CSS to change the style of the cursor when it is over that element. And with most modern browsers, you can add hover to most elements in the <style> section.

Since you don't bother to show the code you are using, it's hard to give a more specific answer. There must be hundreds of files named "sortable.js" floating around out there. How do we know which one you are using?