A
A
Alexey Korolev2018-01-10 13:09:16
css
Alexey Korolev, 2018-01-10 13:09:16

How to style {sort} tag in dle?

The task is to make in dle some kind of sorting analog with vk or tj or other large sites (example in the screenshot). Or, for example, like on the toaster on the main one. All that I managed to do at this stage can be seen in the screenshot. Now a question. How to make it so that when you click and activate a tab, for example, Commented, it is underlined like the word All in the screenshot?5a55e61def880707354490.png5a55e606a48b1036704574.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Boychenko, 2018-01-10
@vladislav_boychenko

When you click on the link, add a certain class to it, and style it according to it. Take away this class from other links. In general, here: https://jsfiddle.net/v8maedzb/2/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question