Answer the question
In order to leave comments, you need to log in
How to do this kind of sorting?
It is necessary to implement such sorting using JS
So far, I can’t even catch on to anything, let alone implement it. Help with advice on which way to dig to do this, or share a link to an example.
Answer the question
In order to leave comments, you need to log in
You can keep all the blocks initially hidden on the page, and show the one you need, or you can load AJAX by clicking on a certain letter, do you have a question that you don’t know how to do it at all? That is, lack of knowledge or ideas?
As for me, I would make sections and child subsections in the CMS (if CMS is used), then display them as 4 leveled sublists, and through JQ hide them and make a drop-down menu.
I would also sort through the server and CMS, since this will be calculated and cached once, and JQ will recalculate everything in the browser for each user.
I would use CMS tools, PHP (well, or the language that you have responsible for the server), HTML, CSS and JS in combination.
It's like not sorting.
Sorting is when you manipulate already loaded data. And you need to load them dynamically.
The logic is pretty simple - click on an element in the first column, make an Ajax request, load the response in the second. Etc.
This is the easiest option that came to mind.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question