Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
@JoeSimmons: It can not use XPath to dinamicaly fetch the table rows as it parses them because it changes them which makes the XPath give an error on the next inerateNext() call. I've changed the initial call to use XPath instead of jQeury, but the speed difference is negligible. About the sorting option I don't think it's a very useful feature in itself, which is why I commented it. |
|
|
Cool thanks. You also should consider using xpath instead of getElementsByTagName, and just add a simple option to the top whether or not to use sorting or not then just add an if() statement around that for() loop. |
|
|
@JoeSimmons: just look at the source code at the end where the following comment is:
You can simply tweak that section to fit what you need. Just use the existing variables jobsMine and jobsTotal to sort it the way you want. |
|
|
Nice. Think there's any way you would make a script that re-arranges the table rows so that the projects with the closest area of expertise would be at the top? I would love that script. |