I
I
iTarchevsky2019-10-04 19:20:30
css
iTarchevsky, 2019-10-04 19:20:30

How to display a modal window in MODX?

Site http://maniera.house, in the upper corner there is a link to the pop-up. I made a copy of the window, but I can not display it. Now the form is called via data-open="callback". As far as I understand, this is a solution for the default form. How can I display a second form that is not provided by the template?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-10-04
@iTarchevsky

By analogy with the first window.

<div class="reveal" id="yourForm" data-reveal="bup5kl-reveal" role="dialog" aria-hidden="false" data-yeti-box="yourForm" data-resize="yourForm" style="display: block; top: 51px;" tabindex="-1" data-events="resize">
<!-- Ваша форма -->
</div>

<a data-open="yourForm" class="feedback show-for-large" aria-controls="yourForm" aria-haspopup="true" tabindex="0">Открыть мою форму</a>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question