Book design is the art of incorporating the content, style, format, design, and sequence of the various components of a book into a coherent whole. In the words of Jan Tschichold, "methods and rules upon which it is impossible to improve, have been developed over centuries. To produce perfect books, these rules have to be brought back to life and applied."
Front matter, or preliminaries, is the first section of a book and is usually the smallest section in terms of the number of pages. Each page is counted, but no folio or page number is expressed or printed, on either display pages or blank pages.
Book design is the art of incorporating the content, style, format, design, and sequence of the various components of a book into a coherent whole. In the words of Jan Tschichold, "methods and rules upon which it is impossible to improve, have been developed over centuries. To produce perfect books, these rules have to be brought back to life and applied."
Front matter, or preliminaries, is the first section of a book and is usually the smallest section in terms of the number of pages. Each page is counted, but no folio or page number is expressed or printed, on either display pages or blank pages.

<!--Код для крошек в товарной сетке -->

<script>
$(document).ready(function(){
//При нажатии на кнопку подробнее 
$(document).on('mousedown', 'a[href*="/tproduct/"]', function(){
    
    //Получаем блок с табами
    let tab = $('.uc-tab-block');
    //Получаем ID этого блока
    let id = tab.attr('id').replace(/[^0-9]/gi, '');
    //Получаем номер активного таба
    let tabNumber = tab.find('[class*="tab_active"]').attr("data-tab-number");
    //Получаем название раздела
    let tabTitle = tab.find('[class*="tab_active"] .t-name').text();
    //Формируем ссылку
    let productLinkBack = `${location.pathname}#!/tab/${id}-${tabNumber}`;

    //Сохраняем ссылку в хранилище
    localStorage.setItem('productLinkBack', productLinkBack);  
    //Сохраняем название раздела в хранилище
    localStorage.setItem('productPartName', tabTitle);  
     
});
    
});
</script>

<!--Код для крошек в product-header-->
<script>
$(document).ready(function(){
    
//Проверяем записи в хранилище
let productLinkBack = localStorage.getItem('productLinkBack'); //Ссылка
let productPartName = localStorage.getItem('productPartName'); //Название раздела

//Если данных о ссылке нет
if ( productLinkBack == null && productPartName == null ) {

    //Получаем преыдущую страницу в записи allrecords
    let recordsAlias = $('#allrecords').attr('data-tilda-page-alias');
    //Если записи нет
    if(recordsAlias==undefined){
        //Скрываем вторую крошку
        $('.uc-bread-crumbs li:eq(1)').hide();
    //Если запись присутствует    
    }else{
        //Записываем во вторую крошку название и ссылку
        $('.uc-bread-crumbs li:eq(1) .t-menu__link-item').attr('href',`/${recordsAlias}`).text(`Предыдущий раздел`);
    };

//Если данные о ссылке присутствуют
}else{
    //Записываем во вторую крошку название и ссылку
    $('.uc-bread-crumbs li:eq(1) .t-menu__link-item').attr('href', productLinkBack ).text(productPartName);
};


//Дожидаемся загрузки продукта
function prodComplete(){
//При загрузке товаров
let tistore = setInterval(function() {
    setTimeout(function(){
        if (  $('.t-store__prod-snippet__container').length>0   ){
            clearInterval(tistore) 
            setTimeout(function(){
                fillThirdBreadCrumbs();
           }, 200); 
        };
    }, 600);
    
}, 100);   
};

prodComplete();

//Формируем 3ю крошку
function fillThirdBreadCrumbs(){
    let productName = $('.t-store__product-snippet .t-store__prod-popup__name').text();
    //Записываем в третью крошку название продукта
    $('.uc-bread-crumbs li:eq(2) .t-menu__link-item').text(productName);
};


    
});
</script>
Made on
Tilda