Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Wel

Newbie
  
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

699 profile views

Wel's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Пасиба, получилось. Большое спасибо!)
  2. <script> //передача элементов по id "a" и "b" window.onload = function() { a = document.getElementById("a"); b = document.getElementById("b"); } //показываем окно функции "showA" function showA() { //Задаем прозрачность и блокируем дисплей //элемента "b" b.style.filter = "alpha(opacity=80)"; b.style.opacity = 0.8; b.style.display = "block"; // Задаем блокироваку и отступ сверху в 200px //элемента "a" a.style.display = "block"; a.style.top = "200px"; } //Вызываем функцию "hideA", которая будет скрывать окно //для элементов "a" и "b" function hideA() { b.style.display = "none"; a.style.display = "none"; } </script> Стили #b { position:fixed; top:0; left:0; right:0; bottom:0; display:none; background: grey; z-index:1; } #a { border:1px solid black; position:fixed; background: #eff7ff; z-index:3; display:none; } #windows { padding:5px; width: 500px; height: 300px; border: 2px solid blue; } a.pages { background: #97cdff; color: white; padding: 4px; text-decoration: none; } a:hover.pages { background: red; color: white; padding: 4px; text-decoration: none; }
  3. В карточке товара есть кнопка купить, пытаюсь прикрепить скрипт js который должен сообщать клиенту какая сумма осталась до следующей скидки, сообщение выводится в модальном окне. Креплю проверку суммы по событию onclick на кнопке купить в файле product.tpl просто вызываю функцию из скрипта которая показывает модальное окно, скрипт тоже находиться в product.tpl. Скрипт имеет отдельный файл стилей, стилей скрипт не видит, непониманию как их правильно подключить. Обычный alert() на кнопке работает нормально. Помогите советом. Использую Opencart 2.0.1.1.
  4. Модуль полностью рабочий, можно брать. У меня заработал на не стандартном шаблоне(opencart 2.0.1.1). Автор активно отвечает на вопросы касающиеся настройки модуля. Поставил модулю 5.
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.