Jump to content


Photo
- - - - -

Подгрузка товаров на странице


Best Answer Den , 15 February 2014 - 21:36

Вопрос снят, убрал подгрузку вообще.

Спасибо.

Go to the full post


  • This topic is locked This topic is locked
24 replies to this topic

#21 Sliapy

Sliapy
  • JBZoo User (rus)
  • User rate: 50.5
  • posts: 6393
  • topics: 15

Posted 15 February 2014 - 20:47

Нам не нужен путь до вашей картинки. Его нужно прописать в скрипте. В этом месте

 loader  : "<img src='images/loader.gif'/>",

  • 0
[color=#aa0000]Не забывайте нажимать кнопку "Вопрос Решён" под сообщением, которое решило Вашу проблему.[/color]

#22 Den

Den
  • Topic Starter
  • JBZoo User (rus)
  • User rate: 0
  • posts: 178
  • topics: 47

Posted 15 February 2014 - 20:55

Не помогает, только что прописал.

<script type="text/javascript">
    jQuery.fn.equalHeights = function(minHeight, maxHeight) {
        tallest = (minHeight) ? minHeight : 0;
        this.each(function() {
            if(jQuery(this).height() > tallest) {
                tallest = jQuery(this).height();
            }
        });
       
        if((maxHeight) && tallest > maxHeight) tallest = maxHeight;
        return this.each(function() {
            jQuery(this).height(tallest).css("overflow","auto");
        });
    }
</script>

<script type="text/javascript">
    jQuery(document).ready(function() {
        jQuery(".jbzoo .items .column").equalHeights();
        jQuery(".jbzoo .subcategories .column").equalHeights();
        jQuery(".jbzoo .related-items .column").equalHeights();
    });
</script>

<script type="text/javascript" src="http://shoesshop.net.ua/1/scr/jquery-ias.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://shoesshop.net.ua/1/scr/css/jquery.ias.css" />

<script>
jQuery.ias({
    container   : ".items",
    item    : ".width33", 
    pagination  : ".pagination",
    next    : "a.next",
    history : false,
    loader  : "<img src='images/loader.gif'/>",
});
</script>

Edited by SmetDenis, 15 February 2014 - 21:00.
используйте тег code!

  • 0

#23 Sliapy

Sliapy
  • JBZoo User (rus)
  • User rate: 50.5
  • posts: 6393
  • topics: 15

Posted 15 February 2014 - 21:00

А где в приведенном коде изменен путь к изображению?

 

Используйте, пожалуйста, кнопку "Код" в редакторе изображений - разбирать такие сообщения крайне неудобно.

 

<script type="text/javascript"> 
jQuery.fn.equalHeights = function(minHeight, maxHeight) {
tallest = (minHeight) ? minHeight : 0;
this.each(function() {
if(jQuery(this).height() > tallest) {
tallest = jQuery(this).height();
}
});
if((maxHeight) && tallest > maxHeight) tallest = maxHeight;
return this.each(function() {
jQuery(this).height(tallest).css("overflow","auto");
});
}
</script>

Этот код и сжимает ваши тизиры.


Edited by Sliapy, 15 February 2014 - 21:02.

  • 0
[color=#aa0000]Не забывайте нажимать кнопку "Вопрос Решён" под сообщением, которое решило Вашу проблему.[/color]

#24 Den

Den
  • Topic Starter
  • JBZoo User (rus)
  • User rate: 0
  • posts: 178
  • topics: 47

Posted 15 February 2014 - 21:04

Изменил но не работает((

<script>
  jQuery.ias({
    container   : ".items",
    item    : ".width33",  
    pagination  : ".pagination",
    next    : "a.next",
    history : false,
    loader  : "<img src='http://shoesshop.net.ua/images/loader.gif'/>",
  });
  </script>

  • 0

#25 Den

Den
  • Topic Starter
  • JBZoo User (rus)
  • User rate: 0
  • posts: 178
  • topics: 47

Posted 15 February 2014 - 21:36   Best Answer

Вопрос снят, убрал подгрузку вообще.

Спасибо.


  • 1




Click to return to top of page in style!