// Open header flipbook
$('.hero-button').click(function () {
$(document).ready(function () {
$('.hero-fb').flipBook({
name: 'Hot Topics Q1 2024',
//Display PDF and Background
pdfUrl:
'https://22615991.fs1.hubspotusercontent-na1.net/hubfs/22615991/Brooks/Hot%20Topics/Q1_2024HotTopics.pdf',
//'https://www.brooksequipment.com/uploadedFiles/Brooks_Equipment/Content/HotTopics/2024_Archive/Q1_2024HotTopics.pdf',
lightBox: true,
lightboxBackground: 'rgba(119, 119, 119, 0.8)',
// backgroundColor: 'url("Assets/Metal.jpg") no-repeat fixed center',
lightIntensity: 1,
lightPositionY: 400,
shadows: false,
sound: false,
//Change Theme
skin: 'dark',
layout: '4',
hideMenu: true,
menu2Padding: '0 50px',
btnSize: 16,
//Custom Layout
btnSelect: { hAlign: 'left' },
// currentPage: {hAlign: 'left'},
//Custom Side Menu
//Disable default buttons
btnAutoplay: { enabled: false },
btnDownloadPages: { enabled: false },
btnSelect: { enabled: false },
btnBookmark: { enabled: false },
btnShare: { enabled: false },
btnSound: { enabled: false },
//Enable non-default, out-of-box, buttons
btnSearch: {
enabled: true,
},
btnFirst: {
enabled: true,
},
btnLast: {
enabled: true,
},
//Hide on Mobile
mobile: {
btnPrint: {
enabled: false,
},
btnExpand: {
enabled: false,
},
},
icons: 'material',
// Custom Table of Contents
tableOfContent: [
{
title:
"Extinguishers: FAA Regulations for Aircraft Fire Extinguishers",
page: 1,
},
{
title:
'Technology: The Advantage of LED Strobes in Notification Appliances',
page: 3,
},
{
title:
'Kitchen Systems: Locking CAps for FDCs and Standpipes Imrpove Firefighter Safety',
page: 4,
},
{
title: 'FEDLC: Start Managing Employee Development Today',
page: 6,
},
{
title:
'Our People: Meet Phillip Simpson, National Sales Manager',
page: 7,
},
{
title:
'Legislation & Code: Brooks Tracks Federal Code Updates and Participates in NFPA Meetings',
page: 7,
},
{
title: 'Product Feature: Brooks Offers OEM Kitchen Systems Parts',
page: 8,
},
],
})
})
})
// Get catalogs and remove pdf button from each
let catalogs = document.getElementsByClassName('catalog')
for (catalog of catalogs) {
let catalogBook = catalog.nextElementSibling.firstElementChild
catalogBook.style.cssText = 'display:none'
}
//Download PDF
// TODO: Update Year - This pdf file is placed in: Brooks Equipmnet - Library (tab)/Content/Hot Topics/2022_Archive
$('.Q1HotTopicsPDF').click(function () {
window.location =
'https://22615991.fs1.hubspotusercontent-na1.net/hubfs/22615991/Brooks/Hot%20Topics/Q1_2024HotTopics.pdf'
//'https://www.brooksequipment.com/uploadedFiles/Brooks_Equipment/Content/HotTopics/2024_Archive/Q1_2024HotTopics.pdf'
})
$('.Q2HotTopicsPDF').click(function () {
window.location =
'http://www.brooksequipment.com/uploadedFiles/Brooks_Equipment/Content/HotTopics/2023_Archive/Q2_2023HotTopics.pdf'
})
$('.Q3HotTopicsPDF').click(function () {
window.location =
'http://www.brooksequipment.com/uploadedFiles/Brooks_Equipment/Content/HotTopics/2023_Archive/Q3_2023HotTopics.pdf'
})
$('.Q4HotTopicsPDF').click(function () {
window.location =
'http://www.brooksequipment.com/uploadedFiles/Brooks_Equipment/Content/HotTopics/2023_Archive/Q4_2023HotTopics.pdf'
})
$('.shopManualPDF').click(function () {
window.location =
'http://www.brooksequipment.com/uploadedFiles/Brooks_Equipment/Content/Digital_Resources/PDFs/2022_Brooks_Shop_Manual.pdf'
})
$('#batteryMiniPDF').click(function () {
window.location =
'http://www.brooksequipment.com/uploadedFiles/Brooks_Equipment/Content/Digital_Resources/PDFs/4664_Battery_Mini_Final.pdf'
})
$('#alarmMiniPDF').click(function () {
window.location =
'http://www.brooksequipment.com/Flipbook/Assets/PDFs/2020_Alarm_Mini.pdf'
})
$('.2023SuppressionCatalog').click(function () {
window.location =
'http://www.brooksequipment.com/uploadedFiles/Brooks_Equipment/Content/Digital_Resources/PDFs/2023BrooksSuppressionCatalog-Low.pdf'
})
// Owl carousel - slider functionality
$(document).ready(function () {
$('#featured-resources').owlCarousel({
items: 3,
itemsMobile: [576, 1],
itemsTablet: [768, 2],
itemsDesktop: [1200, 3],
navigation: true,
navigationText: [
'
',
'
',
],
pagination: false,
})
})
// JavaScript Document