K
K
kimqar_ver2020-05-02 00:58:35
PHP
kimqar_ver, 2020-05-02 00:58:35

Is it possible to somehow make navigation (hiding blocks) being on another page?

I have a filter that works through display none / display block on javascript on the corresponding filter block (for example, I click on "Psychologist" and all other doctors are hidden and only psychologists remain).
5eac9b3202688602427774.png
The question is, I have navigation on the footer for doctors leading to the page to this filter, can I make it so that if I click on the main page "Psychologists", I will be redirected to a page with an already active filter with navigation on "psychologists" enabled?
5eac9b7ed33d9367351522.png
(yes, I explain, I'm bad, I hope you understand from the pictures)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2020-05-02
@kimqar_ver

If you add ?specialty=psychology to the link, then you can then process it using JS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question