YOUX agency

Создаем матрицу Пифагора (психоматрица) в Тильда

Рабочий скрипт для расчета матрицы Пифагора на Тильда. Проконсультируем, поможем разместить на сайте, подключить стили, адаптировать и запустить

Заказать код
Вступить в чат
Предложить код
Видео-урок

Пример матрицы

Введите Вашу дату рождения:
Дата рождения:
Доп. числа:
Число судьбы:
Темперамент
Характер
Здоровье
Удача
Цель
Энергия
Логика
Долг
Семья
Интерес
Труд
Память
Привычки
Быт
1

Вставляем код №1 на сайт в блок "T123"

Либо в zero в html контейнер

2

Добавляем блок "T123" на страницу и размещаем код со стилями №2

3

Заполните форму, оплатите код №3 и мы настроим матрицу Пифагора на сайте

Скрипт №1

Код скопирован

 <!-- Создаем таблицу Пифагора на Тильда -->
 <!-- https://youx.agency/tablica-pifagora-psiho -->

<div class='square'>
                <div>
                    <div>
                        <div class='tn-atom tn-atom__html'>
                            <div class="form_wr">
                                <div class="req">Введите Вашу дату рождения:</div>
                                <input type="text" id="matrix_date" maxlength="10" class="form" title="Введите в это поле Вашу дату рождения в формате: ДД.ММ.ГГГГ" placeholder="Ваша дата рождения в формате ДД.ММ.ГГГГ">
                                <button class="calc" style="line-height:30px">
                                    Рассчитать психоматрицу
                                </button>
                            </div>
                            <table class="greyGridTable">
                                <tbody>
                                    <tr>
                                        <td class="grey first" align="left" colspan="3">
                                            <div> Дата рождения: <span data-answer=date></span> </div>
                                            <div class="mt10"> Доп. числа: <span data-answer=second-number></span> </div>
                                            <div class="mt10"> Число судьбы: <span data-answer=destiny-number></span> </div>
                                        </td>
                                        <td class="grey">
                                            <div class="title">Темперамент</div>
                                            <div class="value" data-index="9"></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="title">Характер</div>
                                            <div class="value" data-index="0"></div>
                                        </td>
                                        <td>
                                            <div class="title">Здоровье</div>
                                            <div class="value" data-index="3"></div>
                                        </td>
                                        <td>
                                            <div class="title">Удача</div>
                                            <div class="value" data-index="6"></div>
                                        </td>
                                        <td class="grey">
                                            <div class="title">Цель</div>
                                            <div class="value" data-index="12"></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="title">Энергия</div>
                                            <div class="value" data-index="1"></div>
                                        </td>
                                        <td>
                                            <div class="title">Логика</div>
                                            <div class="value" data-index="4"></div>
                                        </td>
                                        <td>
                                            <div class="title">Долг</div>
                                            <div class="value" data-index="7"></div>
                                        </td>
                                        <td class="grey">
                                            <div class="title">Семья</div>
                                            <div class="value" data-index="11"></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="title">Интерес</div>
                                            <div class="value" data-index="2"></div>
                                        </td>
                                        <td>
                                            <div class="title">Труд</div>
                                            <div class="value" data-index="5"></div>
                                        </td>
                                        <td>
                                            <div class="title">Память</div>
                                            <div class="value" data-index="8"></div>
                                        </td>
                                        <td class="grey">
                                            <div class="title">Привычки</div>
                                            <div class="value" data-index="13"></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="border: 0;"></td>
                                        <td>
                                            <div class="title">Быт</div>
                                            <div class="value" data-index="10"></div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <input type="text" id="matrix_text" placeholder="После расчета здесь будут Ваши данные для копирования">
                            <button class="copy">Скопировать данные</button>

                        </div>
                    </div>
                </div>
            </div>

<script type="text/javascript" src="js/jquery-3.5.1.js"></script>
<script type="text/javascript" src="js/matrix_obfus.js"></script>

<script>
    $(document).ready(function(){
    $('.modalDialog').click(function () {
    $(".modalDialog").addClass('hidemodal');
    });
});
    </script>
<script>
    $(document).ready(function(){
    $('.close').click(function () {
    $(".modalDialog").addClass('hidemodal');
    });
});
    </script>

Скрипт №2

Код скопирован

 <!-- Создаем таблицу Пифагора на Тильда -->
 <!-- https://youx.agency/tablica-pifagora-psiho -->

<style>
    @import url('https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&display=swap');

body.t-body {
    font-family: 'Jura', sans-serif;
    font-weight: 400;
    font-size: 25px !important;
}

.square .tn-atom__html {
    vertical-align: top;
    display: block !important;
    
    max-width: 600px !important;
    width: 100% !important;
    margin: 0 auto 50px !important;
}

.header {
    text-align: center;
    font-size: 32px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
    color: #455555;
    user-select:none;
}
.req {
    text-align: center;
    font-size: 20px;
    padding-top: 10px;
    padding-bottom: 0px;
    color: #455555;
}


/*Table*/


table.greyGridTable td.grey {
    background: #bebebe;
    padding: 25px;
    border: 1px solid #9c9c9c;;
}

table.greyGridTable tbody td {
    width: 25%;
    font-size: 17px;
    border: 1px solid #9c9c9c;;
}


/*Form*/

.form {
    font-family: 'Jura', sans-serif;
    padding: 10px 30px;
    border: 1px solid #bebebe;
    border-radius: 10px;
    width: 100%;
    max-width: 600px; 
    display: block;
    text-align: center;
    margin: 10px auto;
    box-sizing: border-box;
    color: #777;
    font-size: 16px;

}

.form:focus,
.calc:focus {
    outline: 0;
}

.calc {
    font-family: 'Jura', sans-serif;
    background: #bebebe;
    padding: 5px 0px;
    color: #000;
    font-size: 16px;
    border-radius: 10px;
    border: 0;
    width: 100%;
    max-width: 300px;
    display: block;
    text-align: center;
    margin: 15px auto;
    box-sizing: border-box;
}

.calc:hover {
    color: #fff;
    background: #000;
    transition: 0.2s;
    cursor: pointer;
}

input#matrix_text {
    font-family: 'Jura', sans-serif;
    font-size: 16px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 10px 20px;
    box-sizing: border-box;
    background: #bebebe;
    border: 0;
    margin: 15px auto;
    border-radius: 10px;
    color: #000;
}

button.copy {
    font-family: 'Jura', sans-serif;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    padding: 10px 0;
    border-radius: 10px;
    border: 0;
    background: #bebebe;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    display: block;
    margin: 0px auto;
}
button.copy:hover {
    color: #fff;
    background: #000;
    transition: 0.2s;
    cursor: pointer;
}
/*Form*/
/*Modal*/

.modalDialog > div {
    width: 50%;
    padding: 20px;
    font-size: 14px;
    line-height: 1.8em;
    font-weight: 600;
    background: #ffffff;
    border: 3px solid #68afee;
    position: fixed;
    bottom: -1000px;
    left: 25%;
    box-shadow: 0 10px 10px 3px #00000045;
    transition: 0.5s ease;
    animation-name: modal;
    animation-duration: 15s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

.close {
    background: #68afee;
    color: #FFFFFF;
    line-height: 30px;
    position: absolute;
    right: 4px;
    text-align: center;
    top: 4px;
    width: 30px;
    height: 30px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 30px;
}



/*Modal*/

table.greyGridTable {
    margin-top: 40px;
    border: 0;
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

table.greyGridTable td,
table.greyGridTable th {
    border: 0;
    padding: 10px 3px;
}


table.greyGridTable tbody td:not(.first) {
    /* color: #d3d3d3 */
}

table.greyGridTable tbody td:hover {
    color: #000000
}


.value {
    height: 50px;
    line-height: 50px;
    color: #000000;
}

.header img {
    display: block;
    text-align: center;
    margin: auto;
    margin-bottom: 25px;
}

.mt10 {
    margin-top: 10px;
}

.form_wr {
    max-width: 600px;
    margin: auto;
    text-align: center;
}


input#matrix_text::-webkit-input-placeholder {
    color: #000;
}

input#matrix_text::-moz-placeholder {
    color: #000;
}

/* Firefox 19+ */
input#matrix_text:-moz-placeholder {
    color: #000;
}

/* Firefox 18- */
input#matrix_text:-ms-input-placeholder {
    color: #000;
}


.hidemodal {
    display: none;
}


.modalDialog > div p {
    margin: 5px 0;
}

@keyframes modal {
    0% {}

    10% {
        bottom: 10%;
    }

    25% {
        bottom: 10%;
    }

    50% {
        bottom: 10%;
    }

    95% {
        bottom: 10%;
    }

    100% {
        bottom: -1000px;
    }
}


.close:hover {
    background: #00d9ff;
}

.copyright a,
.copyright {
    text-align: center;
    font-size: 13px;
    color: #000;
    margin-top: 0px;
    margin-bottom: 20px;
}
.unreadable {
    text-align: center;
    font-size: 13px;
    color: #fff;
    margin-top: 0px;
    margin-bottom: 20px;
}

.progress {
    width: 100%;
    height: 5px;
    background: #ccc;
    margin: 5px auto 0;
    position: relative;
}

.progressbar {
    width: 0%;
    position: absolute;
    background: #68afee;
    height: 5px;
    animation-name: progressanim;
    animation-duration: 14s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    animation-delay: 1.5s;
    animation-fill-mode: forwards;
}

@keyframes progressanim {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@media (max-width: 400px) {
    table.greyGridTable {
        font-size: 13px;
        padding: 0;
    }

    .title {
        width: 70px;
        font-size: 12px;
        padding-top: 10px;
    }

    table.greyGridTable tbody td {
        width: 10%;
        font-size: 12px;
    }

    table.greyGridTable td.grey {
        padding: 12px;
    }

    .modalDialog > div {
        width: 85%;
        left: 0 !important;
        margin: 0 0 10% 0 !important;
    }

    table.greyGridTable {
        border: 0;
        width: 90%;
        margin: 40px 5%;
        text-align: center;
        border-collapse: collapse;
    }

    .grey .title {
        font-size: 10px;
    }

    .value {
        height: 20px;
        line-height: 20px;
        color: #000000;
    }
}

.cl {
    clear: both;
    display: block;
    content: "";
}

.mobile_table {
    max-width: 650px;
    margin: auto;
    background: #ccc;
    text-align: center;
}

.mobile_table_80 {
    float: left;
    width: 75%;
    text-align: left;
    background: #ccc;
}

.mobile_table_20 {
    float: left;
    width: 30%;
    background: #ccc;
}

.mobile_table_25 {
    float: left;
    width: 25%;
    background: #999;
    height: 150px;
    line-height: 150px;
}

</style>

Скрипт №3

Скопировать код №3
Заполните форму
Узнать стоимость настройки Матрицы
Заполните форму, мы свяжемся с вами, проконсультируем и поможем настроить Матрицу

Другие модификации