Sprachprofi Nonaglot Senior Member Germany learnlangs.comRegistered users can see my Skype Name Joined 6468 days ago 2608 posts - 4866 votes Speaks: German*, English, French, Esperanto, Greek, Mandarin, Latin, Dutch, Italian Studies: Spanish, Arabic (Written), Swahili, Indonesian, Japanese, Modern Hebrew, Portuguese
| Message 441 of 713 06 May 2012 at 7:25pm | IP Logged |
May I suggest using the Tablekit framework for a neat implementation of table sorting?
It's as easy as including one Javascript file and setting your table class to "sortable".
Magic. I use it for 6wc.learnlangs.com.
1 person has voted this message useful
|
prz_ Tetraglot Senior Member Poland last.fm/user/prz_rul Joined 4857 days ago 890 posts - 1190 votes Speaks: Polish*, English, Bulgarian, Croatian Studies: Slovenian, Macedonian, Persian, Russian, Turkish, Ukrainian, Dutch, Swedish, German, Italian, Armenian, Kurdish
| Message 442 of 713 06 May 2012 at 8:53pm | IP Logged |
surrealix, thanks a lot for your answer. Now I can register with a clear conscience!
1 person has voted this message useful
|
surrealix Diglot Groupie New Zealand languagechallenge.su Joined 4602 days ago 66 posts - 152 votes Speaks: English*, Swedish Studies: French
| Message 443 of 713 06 May 2012 at 9:48pm | IP Logged |
Sprachprofi wrote:
May I suggest using the Tablekit framework for a neat implementation of table sorting?
It's as easy as including one Javascript file and setting your table class to "sortable". Magic. I use it for
6wc.learnlangs.com. |
|
|
So you're the keeper of the 6WC bot? It's good to know whose brain to pick when I run into twitter trouble now
:).
I thought about having some sort ability for the table, but unfortunately it's not as easy as dropping in some
framework - neither Tablekit nor the other popular options cope with "grouping" (ie, the rowspan tag). Some
scripts didn't automatically split the span where required, some scripts ignored rows within the spans, and
some scripts simply crashed.
Saying that, I hacked up sorttable.js so that it works. Click on a column header to sort by
challenge/scores/language/etc. I've also fixed the bug where participants with the same scores would get split
up.
1 person has voted this message useful
|
Sprachprofi Nonaglot Senior Member Germany learnlangs.comRegistered users can see my Skype Name Joined 6468 days ago 2608 posts - 4866 votes Speaks: German*, English, French, Esperanto, Greek, Mandarin, Latin, Dutch, Italian Studies: Spanish, Arabic (Written), Swahili, Indonesian, Japanese, Modern Hebrew, Portuguese
| Message 444 of 713 06 May 2012 at 10:14pm | IP Logged |
Thought you knew that :-)
I didn't have the time to program the Super Challenge bot on short notice, so I'm really
happy that you did. When you have a problem, ask away and I'll try to help. I'm familiar
with PHP but note that I have only programmed in Ruby on Rails (and Prototype or jQuery
flavoured Javascript) for the past 4 years. The 6 Week Challenge bot was written in Ruby
on Rails, too.
1 person has voted this message useful
|
Jeffers Senior Member United Kingdom Joined 4907 days ago 2151 posts - 3960 votes Speaks: English* Studies: Hindi, Ancient Greek, French, Sanskrit, German
| Message 445 of 713 06 May 2012 at 10:40pm | IP Logged |
Surrealix, you're my new hero!
Only one small suggestion... could you name the page? I tend to have about 10 different windows open, and yours is just called "Mozilla Firefox". Which is strange, since I'm using chrome. (Joking! I am using Firefox).
3 persons have voted this message useful
|
Brun Ugle Diglot Senior Member Norway brunugle.wordpress.c Joined 6618 days ago 1292 posts - 1766 votes Speaks: English*, NorwegianC1 Studies: Japanese, Esperanto, Spanish, Finnish
| Message 446 of 713 07 May 2012 at 9:04am | IP Logged |
Do you have any idea when the undo function will be ready? I forgot to write the name of my last essay, and I do like details.
I think you are amazing programming all this stuff. It seems like magic to me. Thank you for throwing away all your free time for us.
2 persons have voted this message useful
|
Kerrie Senior Member United States justpaste.it/Kerrie2 Joined 5393 days ago 1232 posts - 1740 votes Speaks: English* Studies: Spanish
| Message 447 of 713 07 May 2012 at 11:24pm | IP Logged |
Cristina - I changed my French to a full Super Challenge. Can you change it in the participant thread?
I am going to go all out. I'm almost done with my first French book already. I hope I can finish it tonight! (Woo hoo!) :D
1 person has voted this message useful
|
Solfrid Cristin Heptaglot Winner TAC 2011 & 2012 Senior Member Norway Joined 5332 days ago 4143 posts - 8864 votes Speaks: Norwegian*, Spanish, Swedish, French, English, German, Italian Studies: Russian
| Message 448 of 713 07 May 2012 at 11:28pm | IP Logged |
Kerrie wrote:
Cristina - I changed my French to a full Super Challenge. Can you change it in the participant thread?
I am going to go all out. I'm almost done with my first French book already. I hope I can finish it tonight! (Woo hoo!) :D |
|
|
Done :-)
2 persons have voted this message useful
|