[Solved] javascript sorttable

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.
Please direct questions that are Mac or Linux-specific (dealing with installation and OS integration) to the appropriate Linux or Mac board.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions that are specific for Linux and Mac to the dedicated boards for those operating systems.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Locked
vivivivi

[Solved] javascript sorttable

Post by vivivivi » 2012-11-06, 09:58

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

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29250
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: javascript sorttable

Post by Moonchild » 2012-11-06, 10:38

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?
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

vivivivi

Re: javascript sorttable

Post by vivivivi » 2012-11-06, 11:30

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.

vivivivi

Re: javascript sorttable

Post by vivivivi » 2012-11-06, 11:35

oh sh.....
don't know what happens/happened: it works !
sorry again for the disturb and... shame on me !
:-(

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29250
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: javascript sorttable

Post by Moonchild » 2012-11-06, 11:36

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.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29250
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: javascript sorttable

Post by Moonchild » 2012-11-06, 11:36

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.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

Locked