Help with the JS script for the release of the ad block for the event
How does everything have to happen in more detail:
- The visitor goes to the website.
- If he's in the first place on the website (no entry on the Local Storage), then the window pops up and offers to choose its own sex.
- After he picks his sex, we record his floor at the Local Storage, the window closes, and the website forms an appropriate promotional block. For example, press the "Woman" button and request a script of 44 blocks.
- As long as the user has information on his field on the Local Storage, the pop-up window will not appear, and there will always be a block on the page corresponding to his sex.
What's the problem?
The Tiser System provides the code to be placed on the website of the following species:
Note: For blocks to form correctly, it is important that the numbers in the id output block match the last digit in the reference to the external script. For example: id="spcad_44 and https://bulderschub.club/output/index/44
The problem is that the document.write method creates the connection of the external script in the process of forming the DOM. And I need him to do this treatment after the man in the pop-up window picks out his floor.
Objective:
We need the block to form on the first call after the opening window selects its floor, and when the page is rebooted, the block is formed on the basis of information in the Local Storage. Write on a simple JS.
Write down your price proposals.
-
Здравствуйте! Имеется хороший опыт в веб-разработке. По логике Вам требуется чтобы подключение происходило после вызова события onclick. Сделаю качественно. Готов взяться прямо сейчас. Можем обсудить цену. Обращайтесь, буду рад сотрудничеству!
-
838 15 0 Приветствую. Можно же заменить document.write на другой метод. Пишите в лс, разберемся. мои работы - https://bokhin.com/tag/javascript/
-
2593 427 9 1 Завернуть в функцию а потом использовать, могу написать такой код
=- =- = -= -= -= -=- =- =- = -= -= -= -=- =- =- = -= -= -= -=- =- =- = -= -= -= -=- =- =- = -= -= -= -=-
-
2738 75 0 Здравствуйте. Обращайтесь, сделаю за час, скрипт будет в рабочем состоянии и успешно функционировать на сайте.
-
1423 46 0 Готова обсудить задачу. Пишите в лс. Буду рада сотрудничеству!
Current freelance projects in the category Javascript and Typescript
Optimization of WordPress site speed
113 USD
We will send full details in private messages Goal Maximize website loading speed, especially on mobile devices. KPI (mandatory) After the work is completed, the following metrics must be achieved. Mobile Performance 90+ LCP less than 2.2 sec INP less than 200 ms CLS less than… HTML & CSS, Javascript and Typescript ∙ 19 hours 5 minutes back ∙ 53 proposals |
Integration of a service cost calculator on the Webflow site
330 USD
We are looking for a developer to integrate a ready-made service cost calculator into our website, created on Webflow. About the company We are engaged in: furniture assembly; TV mounting; mounting shelves, pictures, mirrors, and other items; moving help; heavy lifting; handyman… Javascript and Typescript, Web Programming ∙ 20 hours 5 minutes back ∙ 54 proposals |
Looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition.There is a working, well-designed project on Odoo 19 Community — CRM for a Ukrainian hotel, already in production-grade infrastructure. We do not plan to rewrite from scratch. We are looking for one person who will take over the project, maintain the working state, and lead it… Javascript and Typescript, Web Programming ∙ 2 days 20 hours back ∙ 2 proposals |
I am looking for an experienced Full Stack developer to create a SaaS service for online stores.Service idea: The client uploads a link to their product feed (XML or CSV). The service automatically retrieves the products, takes their photos, and creates new advertising images based on ready-made templates: price, discount, logo, promotional tags, etc. There should also be… Javascript and Typescript, Web Programming ∙ 4 days 2 hours back ∙ 87 proposals |
Development of a WebGL/Three.js scene with generation and export of 3D (snapshot) from an animated shaderObject Description:The project is a designer table shaped like a realistic, deep whirlpool (a central vortex that smoothly transitions from a wide horizontal tabletop to a thin elegant leg). Task Essence:A WebGL / Creative Coding developer is required to create an interactive 3D… Javascript and Typescript, Web Programming ∙ 4 days 23 hours back ∙ 30 proposals |