Page 1 of 1

[Solved] javascript sorttable

Posted: 2012-11-06, 09:58
by vivivivi
Hi all
i've "migrated" a couple of weeks ago from FF to PM.
All it's ok but one (minor) problem:
the javascript sorttable (from http://www.kryogenix.org/code/browser/sorttable/) does not work
:-(
i've googled to no avail
anyone has an hint ?
TIA

Re: javascript sorttable

Posted: 2012-11-06, 10:38
by Moonchild
I've just checked the page indicated, and the examples given there work perfectly - clicking the headers sorts the table by columns as expected...?
Can you give a detailed example what exactly doesn't work for you?

Re: javascript sorttable

Posted: 2012-11-06, 11:30
by vivivivi
oopps...i'll do some debugging on my page
are you using the 2007 version of sorttable ?
i've googled for a newer version but have found none
sorry for the disturb: obviously it's MY problem, not a PB problem.
and thank you for the quick answer.

Re: javascript sorttable

Posted: 2012-11-06, 11:35
by vivivivi
oh sh.....
don't know what happens/happened: it works !
sorry again for the disturb and... shame on me !
:-(

Re: javascript sorttable

Posted: 2012-11-06, 11:36
by Moonchild
vivivivi wrote:are you using the 2007 version of sorttable ?
i've googled for a newer version but have found none
I don't know :) I didn't implement the sort function myself, I just checked the page you linked to which has live examples of the script in action, and they work as expected.
Perhaps you can find out what's wrong on your own site by inspecting the source of that page, and seeing how they do it? Ctrl+U will display the page source.

Re: javascript sorttable

Posted: 2012-11-06, 11:36
by Moonchild
vivivivi wrote:oh sh.....
don't know what happens/happened: it works !
sorry again for the disturb and... shame on me !
:-(
No worries :) Webdesign can be finicky like that sometimes.