Постельное белье
На странице:
Волки (554)
Волки (554)
..
Вышивка (592)
Вышивка (592)
..
Габриэлла (658)
Габриэлла (658)
..
Гербарий (141)
Гербарий (141)
..
Гжель (228)
Гжель (228)
..
Гимнастика (133)
Гимнастика (133)
..
Гобелен (516)
Гобелен (516)
..
Графика (161)
Графика (161)
..
Далматинцы (83)
Далматинцы (83)
..
Дельфины (167)
Дельфины (167)
..
Друзья (179)
Друзья (179)
..
';
}
var image = $(element).find('.image').html();
if (image != null) {
html += '
' + image + '
';
}
html += '
';
html += '
';
html += '
' + $(element).find('.name').html() + '
';
html += '
' + $(element).find('.fastmodel').html() + '
';
html += '
';
var price = $(element).find('.price').html();
if (price != null) {
html += '
' + price + '
';
}
html += '
' + $(element).find('.cart').html() + '
';
html += '
';
var rating = $(element).find('.rating').html();
if (rating != null) {
html += '
' + rating + '
';
}
html += '
' + $(element).find('.description').html() + '
';
html += '
';
$(element).html(html);
});
$(".owl-addimagecat").owlCarousel({ navigation : true, pagination : false, singleItem : true });
$('.display').html('
');
$.totalStorage('display', 'list');
} else {
$('.product-list').attr('class', 'product-grid');
$('.product-grid > div').each(function(index, element) {
html = '';
html += '
';
var image = $(element).find('.image').html();
if (image != null) {
html += '
' + image + '
';
}
html += '
';
var savemoney = $(element).find('.savemoney').html();
if (savemoney != null) {
html += '
' + savemoney + '
';
}
html += '
' + $(element).find('.name').html() + '
';
html += '
' + $(element).find('.fastmodel').html() + '
';
html += '
' + $(element).find('.description').html() + '
';
var price = $(element).find('.price').html();
if (price != null) {
html += '
' + price + '
';
}
html += '
' + $(element).find('.cart').html() + '
';
html += '
';
html += '
';
var rating = $(element).find('.rating').html();
if (rating != null) {
html += '
' + rating + '
';
}
$(element).html(html);
});
$(".owl-addimagecat").owlCarousel({ navigation : true,
pagination : false,
items : 3,
itemsDesktop : false,
itemsDesktopSmall: false,
itemsTablet :false,
itemsMobile: false, });
$('.item').hover(function(){
var $gallery = $(this);
$('.owl_modul div a',$gallery).hover(function(){
$('.owl_modul div',$gallery).removeClass('active');
$(this).parent().addClass('active');
$('.image img',$gallery).attr('src', $(this).attr('data-image'));});
$('.owl_modul div:first',$gallery).addClass('active');
if ( $('.owl_modul',$gallery).parents('.item').length ) { $gallery.addClass('itemwd')};
});
$('.display').html('
');
$.totalStorage('display', 'grid');
}
}
view = $.totalStorage('display');
if (view) {
display(view);
} else {
display('list');
}
//-->