Описание
() WDX0R Dell Inspiron 13-5368, 13-5378, 13-7368, 14-7460, 15-5568, 14-7560. : Li-Polymer (V): 11.4 (mAh): 3400 (Wh): 38.76 (): 191.80 x 103.20 x 5.60 (.): 12 : : Sino Power: : 0WDX0R 17368-0027 1VX1H 3CRH3 9W9MX CYMGM FC92N FW8KR T2JX4 WDX0R WDXOR YRDD6 : ... $(document).ready(function(){ var loadData = function(config) { var grid; var columns = [ {id: "title", name: "Title", field: "title"}, ]; var options = { enableCellNavigation: false, enableColumnReorder: false, showHeaderRow: false , headerHeight: 0 , headerRowHeight: 25, rowHeight : 15, fullWidthRows: true , forceSyncScrolling : true }; $.ajax({ type: 'POST', url: '/product_compatible_ajax.php', data:{ offset : config['offset'], limit: config['limit'], products_id : 7892, key_ajax: '3e8395cbdcba99fd0067b3f6beeef26e' }, beforeSend: function(){ $('#compatible_loader, #compatible_loader_text').show(); }, complete: function(){ $('#compatible_loader, #compatible_loader_text').hide(); }, success: function (json, textStatus) { var arr = JSON.parse(json); var data = []; for (var i=0; i< arr.length; i++) { data[i] = { title: arr[i] }; } grid = new Slick.Grid(config['target'], data, columns, options); } }); } $(document).on("click", '#linkShow', function(e){ var compatible_offset = 500; var compatible_limit = 100000; var counter = 0; var CONST_TITLE_SHOW_LIST = ' '; var title = ($(this).text() == CONST_TITLE_SHOW_LIST ? '' : CONST_TITLE_SHOW_LIST); $('#compatible_inner_addition').innerHtml = ''; $('#compatible_content').toggle(); loadData({offset:0, limit: compatible_limit, target: '#compatible_content'}); $(this).text(title); e.preventDefault(); return false; }); });