Commit 85235ea62f87b78c76e0940b90e659d863bed2f2

Authored by Виталий
1 parent 034ab0d0

Веталь

Showing 1 changed file with 13 additions and 0 deletions   Show diff stats
frontend/views/catalog/product.php
... ... @@ -176,3 +176,16 @@ $this->registerJs ("
176 176 </div>
177 177 <div class="both"></div>
178 178 </div>
  179 +
  180 +<?php
  181 +//$this->registerJs ("
  182 +// var productHash = window.location.hash;
  183 +// productHash = productHash.replace('#','')
  184 +//
  185 +// var productUl = $('ul.product_mod li')
  186 +// var productA = productUl.find('a#'+productHash)
  187 +// productUl.removeClass('active')
  188 +// productA.parent().addClass('active')
  189 +// console.log(productA)
  190 +// ", View::POS_READY, 'new_script');
  191 +//?>
179 192 \ No newline at end of file
... ...