Описание
() NP-FM500, NP-FM500H Sony Alpha DSLR-A200, A300, A350, A450, A500, A550, A560, A580, A700, A850, A900, ILCA-77M2, SLT-A57, A58, A65, A77. : Li-Ion (V): 7.4 (mAh): 1600 (Wh): 11.84 (): 38.20 x 20.50 x 55.60 (.): 12 : : Cameron Sino: : NP-FM500 NP-FM500H PL509B.857 : ... $(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 : 8237, key_ajax: '7dc18bd95f178f6b6245fc0a577beae8' }, 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; }); });