D
D
Dmitry Isaev2018-09-20 10:27:43
HTML
Dmitry Isaev, 2018-09-20 10:27:43

Bitrix adds display: none; how to fix?

I inserted the code into the product card in Bitrix through the editor, it adds display: none to all elements;
Although everything is fine when viewing the code.
How to put the code below in Bitrix?

<script src="/css/calc-lef-200/calc.js"></script>
<link rel="stylesheet" href="/css/calc-lef-200/calc.css"/>
<div class="whiteBlock bg-gradient" id="calcform">
    <!--<img class="w-lef" src="/css/calc-lef-200/lef200-versauv-printer.png">-->
    <div class="container">
        <div class="row">
            <div class="popup_window" id="money">
                <div class="img_window">
                    <div class="head-row" style="padding-bottom:20px;">Калькулятор себестоимости печати</div>
                    <div class="backOrderForm calc-form">
                        <div class="row">
                            <div class="calc-col">
                                <div class="row">
                                    <div class="col-xs-6 col-lg-3">
                                        <div class="calc-line">Печать CMYK</div>
                                        <div class="calc-line">Печать белым</div>
                                        <div class="calc-line">Специальные эффекты</div>
                                        <div class="calc-line">Процент заполнеия лаком</div>
                                        <div class="calc-line">Размер изделия, см</div>
                                    </div>
                                    <div class="col-xs-6 col-lg-4">
                                        <div class="calc-options">
                                            <select class="form-control" id="count_b" onchange="calc()">
                                                <option value="89">CMYK High Quality</option>
                                                <option value="68">CMYK Normal</option>
                                                <option value="67">CMYK High Speed</option>
                                                <option value="0">Нет</option>
                                            </select>
                                        </div>
                                        <div class="calc-options">
                                            <select class="form-control" id="count_a" onchange="calc()">
                                                <option value="0">Нет</option>
                                                <option value="225">White Normal</option>
                                                <option value="179">White High Quality</option>
                                                <option value="521">White HD</option>
                                                <option value="185">White High Speed</option>
                                            </select>
                                        </div>
                                        <div class="calc-options">
                                            <select class="form-control" id="count_c" onchange="calc()">
                                                <option value="0">Нет</option>
                                                <option value="401">матовый лак</option>
                                                <option value="744">глянцевый лак</option>
                                            </select>
                                        </div>
                                        <div class="calc-options">
                                            <select class="form-control" id="count_p" onchange="calc()">
                                                <option value="5">5%</option>
                                                <option value="10">10%</option>
                                                <option value="20">20%</option>
                                                <option value="30">30%</option>
                                                <option value="40">40%</option>
                                                <option value="50">50%</option>
                                                <option value="60">60%</option>
                                                <option value="70">70%</option>
                                                <option value="80">80%</option>
                                                <option value="90">90%</option>
                                                <option value="100">100%</option>
                                            </select>
                                        </div>
                                        <div class="calc-options" style="display:inline-flex;margin:0 0 10px;">
                                            <input class="input form-control" id="count_x" onchange="calc()" type="text" value="10"><span>x</span><input class="input form-control" id="count_y" onchange="calc()" type="text" value="10">
                                        </div>
                                    </div></div>
                                <div class="row">
                                    <div class="col-xs-12 col-sm-6 col-lg-3">
                                        <div class="calc-line">Расход CMYK, мл: <strong id="resultF">0.071</strong></div>
                                        <div class="calc-line">Расход Белых чернил, мл: <strong id="resultE">0.143</strong></div>
                                        <div class="calc-line">Расход лака, мл: <strong id="resultG">0.119</strong></div>

                                    </div>
                                    <div class="col-xs-12 col-sm-6 col-lg-4">
                                        <div class="calc-line total">Себестоимость печати, евро: <strong id="resultH">0.159</strong></div>
                                    </div>

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

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question