Answer the question
In order to leave comments, you need to log in
How to display TV - checkbox only for the current page?
Please help to solve the problem:
On some pages I plan to display a warning window through the checkbox. If a warning is needed on the page (current resource) - a tick is placed in the tv-field of the current resource.
I did the following:
1. I created a chunk that will contain this warning window.
This chunk comes by default with a value of "display: none".
<div class="none ">
<div>предупреждающее окно</div>
</div>
.active{
display: block !important;
}
.none{
display: none;
}
Answer the question
In order to leave comments, you need to log in
It was difficult to implement, why not like this, for example:
<div class="none ">
<div>предупреждающее окно</div>
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question