Answer the question
In order to leave comments, you need to log in
How to make anchors in Bitrix slider?
Good afternoon!
I have a site with a slider.
The header and footer of the site are static.
The slider block is 4 buttons
Names: Lesson 1 Lesson 2 Lesson 3 Lesson 4
Each lesson has its own name and content
I need to put anchors on the titles.
That is, so that when I go to the link:
wwww.my-site.ru/education/#lesson1
, the necessary content opens in the slider block.
I implemented it like this:
<a name = "<?=$arElm['NAME']?>"><h2 class="clr1"><?=$arElm['NAME']?></h2></a>
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