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

open1201

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

Information

  • Gender
    Не определился

Recent Profile Visitors

1,006 profile views

open1201's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Нашел кусок кода, но ничего в этом не понимаю, нужна ваша помощь. /***********CATEGORY DROP DOWN****************/ $("#menu-icon").on("click", function () { $("#menu-gadget .menu").slideToggle(); $(this).toggleClass("active"); }); $('#menu-gadget .menu').find('li>ul').before('<i class="fa fa-angle-down"></i>'); $('#menu-gadget .menu li i').on("click", function () { if ($(this).hasClass('fa-angle-up')) { $(this).removeClass('fa-angle-up').parent('li').find('> ul').slideToggle(); } else { $(this).addClass('fa-angle-up').parent('li').find('> ul').slideToggle(); } }); if ($('.breadcrumb').length) { var o = $('.breadcrumb li:last-child'); var str = o.find('a').html(); o.find('a').css('display', 'none'); o.append('<span>' + str + '</span>'); } var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; if ($('aside').length) { var leftColumn = $('aside'); } else { return false; } if (width > 767) { if (!flag) { flag = true; leftColumn.insertBefore('#content'); $('.col-sm-3 .box-heading').unbind("click"); $('.col-sm-3 .box-content').each(function () { if ($(this).is(":hidden")) { $(this).slideToggle(); } }) } } else { if (flag) { flag = false; leftColumn.insertAfter('#content'); $('.col-sm-3 .box-content').each(function () { if (!$(this).is(":hidden")) { $(this).parent().find('.box-heading').addClass('active'); } }); $('.col-sm-3 .box-heading').bind("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active').parent().find('.box-content').slideToggle(); } else { $(this).addClass('active'); $(this).parent().find('.box-content').slideToggle(); } }) } } }); var flag = true; function respResize() { var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; if ($('aside').length) { var leftColumn = $('aside'); } else { return false; } if (width > 767) { if (!flag) { flag = true; leftColumn.insertBefore('#content'); $('.col-sm-3 .box-heading').unbind("click"); $('.col-sm-3 .box-content').each(function () { if ($(this).is(":hidden")) { $(this).slideToggle(); } }) } } else { if (flag) { flag = false; leftColumn.insertAfter('#content'); $('.col-sm-3 .box-content').each(function () { if (!$(this).is(":hidden")) { $(this).parent().find('.box-heading').addClass('active'); } }); $('.col-sm-3 .box-heading').bind("click", function () { if ($(this).hasClass('active')) { $(this).removeClass('active').parent().find('.box-content').slideToggle(); } else { $(this).addClass('active'); $(this).parent().find('.box-content').slideToggle(); } }) } } }
  2. Всем привет. Есть шаблон(бесплатный, можно скачать): https://www.templatemonster.com/ru/free-templates/opencart-mobile-shop.html Демо: http://livedemo00.template-help.com/opencart_54714/ Помогите сделать так, чтобы в мобильной версии выпадающее меню(categories) было изначально свернутым. Там, судя по всему, нужно изменить одно значение, но не понимаю какое и на какое)
  3. Здравствуйте! Купил ваш замечательный модуль, но возник конфликт с другим модулем(Customer Order Product Upload..http://www.opencart.com/index.php?route=extension/extension/info&extension_id=1887&filter_search=customer%20product%20upload&filter_license=1) После добавления изображения происходит "бесконечная загрузка"( прилагаю скрин). Картинка загружается на сервер, но визуально нет подтверждения("Загрузка" не меняется на "Готово!") После удаления файлов вашего модуля все заработало. Помогите, пожалуйста, устранить конфликт. Очень хочется оставить ваш модуль на сайте. Ссылку на сайт дать не могу - он пока на денвере. Но если вам это нужно для устранения проблемы, могу выложить на хостинг. Заранее, спасибо.
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.