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/
-
2597 427 9 1 Завернуть в функцию а потом использовать, могу написать такой код
=- =- = -= -= -= -=- =- =- = -= -= -= -=- =- =- = -= -= -= -=- =- =- = -= -= -= -=- =- =- = -= -= -= -=-
-
2738 75 0 Здравствуйте. Обращайтесь, сделаю за час, скрипт будет в рабочем состоянии и успешно функционировать на сайте.
-
1423 46 0 Готова обсудить задачу. Пишите в лс. Буду рада сотрудничеству!
Aktualne zlecenia dla freelancerów w kategorii Javascript & Typescript
Rozwój sceny WebGL/Three.js z generowaniem i eksportem 3D (snapshot) z animowanego shaderaOpis obiektu: Projekt przedstawia designerski stół, wykonany w formie realistycznego, głębokiego wiru (centralna wirówka, która płynnie przechodzi z szerokiego poziomego blatu w cienką, elegancką nogę). Istota zadania: Wymagany jest programista WebGL / Creative Coding do… Javascript & Typescript, Programowanie stron internetowych ∙ 19 godzin 55 minut temu ∙ 21 ofert |
Wsparcie i rozwój strony internetowej firmy sprzątającej
75 PLN
Szukam programisty / webmastera do długoterminowego wsparcia i rozwoju strony internetowej firmy sprzątającej. Strona: https://donely.ca O projekcie DoneLy Home Services — firma świadcząca usługi sprzątania w Kanadzie, która aktywnie się rozwija i rozszerza zasięg działalności.… Javascript & Typescript, Programowanie stron internetowych ∙ 2 dni 21 godzin temu ∙ 59 ofert |
Opracowanie strony internetowej według specyfikacji na FramerTrzeba zrobić stronę według tych parametrów, które są w specyfikacji https://docs.google.com/document/d/1ODO2C9Krb4AaMiJz9wfbNzWlAyA2FwCCHL8r0biajUY/edit?usp=sharing Podajcie rzeczywistą stawkę na podstawie tego projektu Układ HTML i CSS, Javascript & Typescript ∙ 3 dni 22 godziny temu ∙ 27 ofert |
Opracowanie interaktywnej mapy Palworld dla strony internetowejPotrzebna jest interaktywna mapa Palworld na wzór: https://palworld.gg/map Potrzebujemy nie tylko statycznego obrazka, ale pełnoprawnej interaktywnej mapy, na której użytkownik może przeglądać lokalizacje, włączać/wyłączać kategorie obiektów, wyszukiwać potrzebne punkty i… Układ HTML i CSS, Javascript & Typescript ∙ 5 dni 13 godzin temu ∙ 35 ofert |
Rozwój platformy AM Mobility (serwis samochodowy, parking, ubezpieczenie, wynajem samochodów)
21 300 PLN
Szukamy zespołu lub doświadczonego programisty Full Stack do stworzenia MVP platformy AM Mobility. AM Mobility to jednolita cyfrowa ekosystem dla kierowców, łącząca w jednej aplikacji i platformie internetowej: parking; serwis samochodowy; wulkanizację; myjnię samochodową;… Javascript & Typescript, Programowanie stron internetowych ∙ 10 dni 20 godzin temu ∙ 119 ofert |