P
P
Pavel Rozhkov2018-02-18 16:04:07
MODX
Pavel Rozhkov, 2018-02-18 16:04:07

How to display activity class in MODX Revo?

Hi friends. There is such a problem. I bring tabs to the main page

<section class="content content_dark">
  <div class="services">
    <div class="service__list-container">
      <h3 class="service__title">Услуги</h3>
      <ul class="service__list">
          
      </ul>
    </div>
    <div class="service__content">
        
      
      
    </div>
  </div>
</section>

link-usligiTpl content
<li class="service__item">
  <a href="#" class="service__link service__link_active" data-tab-id=""></a>
</li>

Content of block-usligiTpl
<div class="service__item-content service__item-content_active" id="">
  
</div>

And the essence of the question is that there is an activity class service__link_active and the second service__item-content_active
How to make it so that when the page is opened, it would be assigned only to the first taboo? But not everyone.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2018-02-22
@pro100pav

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question