Is this the idea of highlighting the home page navigation?
Add the navigation id parameter to the a link of the navigation. When you click to submit to the background, the background will obtain the id, and then output it to the template, and then In the template, the parameters of the url and the variables output to the template are judged. If they are consistent, the highlighted style will be given?
After receiving the data you passed and processing it in the background, return the data to the front desk and modify the highlight style based on judgment
After clicking the navigation jump, the classid parameter will be brought in. Use this Just judge the parameters!