Home Forums WoodMart support forum Вставка кода в кнопку

Вставка кода в кнопку

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #236518

    Sergey_1989
    Participant

    Здравствуйте, есть скрипт от кнопки “заказать обратный звонок”, как этот скрипт добавить в кнопку?
    <div >
    <script>
    function clickA(){
    document.getElementById(“zcwMiniButtonMain”).click();
    }
    </script>
    <div class=”call” ><button id=”callback” onclick=”clickA()”> <i class=”fa fa-phone”></i> Заказать звонок</button></div>
    добавление HTML не помогло решить проблему. Заранее спасибо

    #236534

    Hello,

    Where do you want to show this button?

    Best Regards

    #236544

    Sergey_1989
    Participant

    В шапке

    #236546

    Sergey_1989
    Participant

    А точнее в Top-bar

    #236552

    Sergey_1989
    Participant

    Не важно это будет кнопка или просто ссылкой

    #236590

    Hello,

    1. Create HTML block;

    2. add Raw HTML element and insert your code;

    3. Add HTML block element to the Header builder and chose this HTML block.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)