A
A
Anto2017-07-30 00:44:32
JavaScript
Anto, 2017-07-30 00:44:32

How to make it so that the ball is an active link?

Good afternoon!
Tell me there is a menu on the site with three items: item-1 (url:/catalog/1/), item-2(url:/catalog/2/), item-3(url:/catalog/3/)
When you click on item-2 (or another item) a menu is displayed, another menu on the page related to this section and the item is supported, the displayed section menu works like _ext menu displays the structure from the infoblock, there are also menu items in the section menu that are not displayed from the infoblock section. The underlining remains while you go through the sections of the info block, but as soon as you click on one of the menu items, the underlining of point-2 disappears from the info block section, tell me how you can leave this underlining. Addresses for menu items from the infoblock are generated automatically by the CNC.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2017-07-30
@gromdron

As I understand it, you have some kind of menu, for example:
/top/index.php
/root/index.php
/test/index.php
And in /root/ there is a menu item (nested) menu, which has a link to /catalog/index.php
And you want the /root/index.php menu item to be highlighted when you go to /catalog/index.php??
If yes, then in menu parameter 3 at /root/index.php specify the link /catalog/index.php
See the comment by Peter Nevenchanny
https://dev.1c-bitrix.ru/api_help/main/reference/c...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question