Categories

Foreign Languages

var author = $(element).find('.ocb-author').html(); if (author != null) { html += '
' + author + '
'; } html += '
' + $(element).find('.description').html() + '
'; var rating = $(element).find('.rating').html(); if (rating != null) { html += '
' + rating + '
'; } html += '
'; $(element).html(html); }); $('.display').html('Display:  List Grid '); $.cookie('display', 'list'); } else { $('.product-list').attr('class', 'product-grid'); $('.product-grid > div').each(function(index, element) { html = ''; var image = $(element).find('.image').html(); if (image != null) { html += '
' + image + '
'; } html += '
' + $(element).find('.name').html() + '
'; var author = $(element).find('.ocb-author').html(); if (author != null) { html += '
' + author + '
'; } html += '
' + $(element).find('.description').html() + '
'; var price = $(element).find('.price').html(); if (price != null) { html += '
' + price + '
'; } var rating = $(element).find('.rating').html(); if (rating != null) { html += '
' + rating + '
'; } html += '
' + $(element).find('.cart').html() + '
'; html += '
' + $(element).find('.wishlist').html() + '
'; html += '
' + $(element).find('.compare').html() + '
'; $(element).html(html); }); $('.display').html('Display:  List Grid
'); $.cookie('display', 'grid'); } } view = $.cookie('display'); if (view) { display(view); } else { display('list'); } //-->