Answer the question
In order to leave comments, you need to log in
How to fire a jQuery event when a page is accessed from a specific link?
On the Main page there is a section with the services of the organization. This section contains 4 links (for each service) to the Services page. The Services page has 4 blocks for each service, which are initially set to display: none.
It is necessary to implement the following, for example: the user, being on the Home page, clicks on the link of the "X" service, when going to the Services page, the block with the "X" service is assigned display: block.
This is currently implemented via hash. But I understand that this is not the best solution. I guess that this is implemented using php, but unfortunately, at the moment, I'm not very familiar with it (
ps site is on modx revo
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question