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

sheff88

Newbie
  
  • Posts

    4
  • Joined

  • Last visited

sheff88's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter

Recent Badges

0

Reputation

  1. {% if logged and account != 'guest' %} есть вот такая строка в twig в десктопах отрабатывает, а на мобилах нет, считает, что юзер залогинен. Есть какой то выход?
  2. <script> function productListImageChangeHover(element) { var src = element.attr('img-aux-src'); var dataauxsrc = element.attr('src'); if (element.length > 0 && element.attr('img-aux-src')) { element.attr('src', src); element.attr('img-aux-src', dataauxsrc); } } </script> нашел, но опять все через ж.. img-aux-src на openserver нормально отображает 2-ю картинку, а на впс img-aux-src пустой, чудеса.
  3. <div class="image"><a href="{{ product.href }}"> <img itemprop="image" src="{{ product.thumb }}" img-aux-src="{{ product.thumb2 }}" alt="{{ product.name }}" title="{{ product.name }}" onmouseover="productListImageChangeHover($(this))" onmouseout="productListImageChangeHover($(this))" class="img-responsive" /></a> </div> Собственно функция productListImageChangeHover, выдает ошибку Uncaught ReferenceError: productListImageChangeHover is not defined onmouseout https://greenrose.market/index.php?route=product/category&path=1_2: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.