...
После создания формы, вы получите несколько блоков кода, которые будут использоваться, в зависимости от способа размещения формы на сайтAfter creating the form, you will receive several blocks of code that will be used, depending on how the form is placed on the site:
Widget Connector | ||
---|---|---|
|
...
First method (
...
recommended)
...
- Кнопка - "скопировать код" Разместите скрипт инициализации (1) в самом конце body страницы - перед закрывающим тегом Button - “copy code” Place the initialization script (1) at the very end of the body of the page - before the closing tag </body>;
- Скрипт инициализации самого ЛГТ. Разместите его в том месте сайта, где Вы хотите видеть Вашу ЛГТ типа "Форма".
- Ссылка одинаковая по своему функционалу с пунктом 2. Разместите его в том месте сайта, где Вы хотите видеть Вашу ЛГТ типа "Форма".
Второй способ
После создания формы, помимо ссылки, вы получите два блока кода, которые необходимо разместить в коде вашей веб-страницы.
- Кнопка - "скопировать код" Разместите скрипт инициализации (1) в самом конце body страницы - перед закрывающим тегом </body>;
- Скрипт инициализации самого ЛГТ. Разместите его в том месте сайта, где Вы хотите видеть Вашу ЛГТ типа "Форма". Но не ниже скрипта инциализации.
- Ссылка одинаковая по своему функционалу с пунктом 2. Разместите его в том месте сайта, где Вы хотите видеть Вашу ЛГТ типа "Форма". Но не ниже скрипта инциализации.
После этого вам нужно создать элемент, который будет содержать форму. В качестве id для такого элемента следует установить селектор, который находится в настройках формы (без символа #).
- Initialization script for the LGT itself. Place it in the place on the site where you want to see your LGT of the “Form” type.
- The link is the same in functionality as point 2. Place it in the place on the site where you want to see your LGT “Form” type.
...
Second way
After creating the form, in addition to the link, you will receive two blocks of code that must be placed in the code of your web page.
- Button - “copy code” Place the initialization script (1) at the very end of the body of the page - before the closing tag </body>;
Initialization script for the LGT itself. Place it in the place on the site where you want to see your LGT of the “Form” type. But not below the initialization script.
The link is the same in functionality as point 2. Place it in the place on the site where you want to see your LGT “Form” type. But not below the initialization script.
After that, you need to create an element that will contain the form. The id for such an element should be set to the selector found in the form settings (without the # symbol).
- Button - “copy code” Place the initialization script (1) at the very end of the body of the page - before the closing tag </body>;
Example: <div id="wepster_action_element"></div>
Форма появится на сайте там, где размещен данный элементThe form will appear on the site where this element is located.
...