The Pre-Trip Inspection Tool - PI539

Unique Truck

(62 reviews) Write a Review
Price: $11.99

Custom Engraving Available

SKU:
PI539
UPC:
94922431684
Availability:
In Stock
Shipping:
Calculated at Checkout
Bulk Pricing:
Buy in bulk and save
Adding to cart… The item has been added

Product Overview

The Pre-Trip Inspection Tool from Unique Truck Equipment may be small, but it’s essential for commercial truck drivers, along with any driver who wants to ensure their vehicle is ready for the road. This tiny pre-trip tool enables quick and effective checks to meet compliance standards before hitting the road. This versatile tool simplifies inspections with its ability to measure tire tread depth, brake stroke, brake shoe thickness, and windshield damage in one compact design.

Small enough to fit in a pocket or attach to a keychain, it confirms that your vehicles are road-ready, which keeps you and your rig safe and helps you avoid potential citations during inspections. Regular use of this pre-tip tool promotes proactive maintenance and aids in extending the life of critical components. Keep your operation running smoothly with our USA-manufactured Pre-Trip Inspection Tool and explore other essential heavy-duty trucking tools available at Unique Truck Equipment.

 

The Pre-Trip Inspection Tool Performs the Following Inspections:

  • Brake pad thickness
  • Brake stroke
  • Tire tread depth
  • Windscreen cracks

The Pre-Trip Inspection Tool Includes:

  • Brake shoe thickness gauge to assess wear and need for replacement
  • Brake stroke indicator for regular brake maintenance checks
  • Legal tire tread depth measurements to meet safety standards

Windshield damage evaluator for detecting chips or cracks that may require attention

 

The Pre-Trip Inspection Tool Dimensions:

A. 5/32” Steer tire depth

B. 3/32” drive and trailer tire tread depth

C. 3/4” maximum size of windscreen chips

D. 9/32” brake shoe thickness

E. 2” maximum stroke for short stroke chamber

F. 2-1/2” maximum stroke for long stroke chamber

G. Keychain hole

*Note: Measurements for A, B & D are set 1/32” greater than the legal requirements to allow driver to take corrective action before the vehicle is out of compliance.

Manufactured in the USA

*CUSTOM ENGRAVING (with your business name) AVAILABLE - Contact Unique Truck for details.

 

Testimonial:

“During a roadside inspection, I avoided a citation for the chip in my windshield. Using my Pre-Trip Inspection Tool I measured the chip and showed the officer that it was less than 3/4”. He let me go with no citation. I love this tool!” -Jon Hope (Rowdy Farms)

Pre-Trip Tool & Inspection FAQs

Q: What are the steps for a pre-trip inspection?

A: Using the Pre-Trip Inspection Tool from Unique Truck, choose the appropriate tire tread depth dimensions to measure steer tire depth. Next, confirm that the brake shoe thickness and stroke length meet requirements. Finally, inspect for any windscreen damage. You’ll also want to review the latest vehicle inspection reports to address anything that could affect your trip.

Q: How do I memorize a pre-trip inspection?

A: Memorizing the steps of a pre-trip inspection can be made more accessible using our pre-trip tool instead of a physical checklist. Familiarize yourself with each component the tool measures: tire tread depth, brake pad thickness, brake stroke, and windscreen damage—practice using the tool regularly and in the same order to reinforce the inspection steps.

Reviews

(62 reviews) Write a Review

62 Reviews Hide Reviews Show Reviews

  • 5
    Five Stars

    Posted by Anonymous on Mar 14th 2022

    Great tool but very pricey with shipping

  • 5
    Five Stars

    Posted by Anonymous on Mar 12th 2022

    ??????????Very good

  • 5
    Five Stars

    Posted by Anonymous on Mar 12th 2022

    The pretrip tool is nice, I'm a instructor at a CDL truck driving school in my state and I've been showing the tool to my students telling there where they can get one. Wouldn't surprise me if some haven't already ordered one... there is other things you sale that I'm going to invest in over time.

  • 5
    Five Stars

    Posted by Anonymous on Mar 11th 2022

    Super easy to use and came in fast when I ordered it.

  • 5
    Five Stars

    Posted by Anonymous on Mar 11th 2022

    Excellent tool

  • 5
    Five Stars

    Posted by Anonymous on Aug 23rd 2021

    The tool is exactly as described with good directions on how to use it on the packaging. My driver's find this tool extremely useful oh, and can carry it everywhere with them. Highly recommended.

  • 5
    Five Stars

    Posted by Anonymous on Jul 26th 2021

    Very convenient

  • 5
    Five Stars

    Posted by Anonymous on Apr 15th 2021

    Excellent multipurpose measuring tool. It’s a great product, I wish I could of thought of it first.

  • 5
    Five Stars

    Posted by Anonymous on Jan 12th 2021

    The pretrip inspection tool takes any guessing out when deciding if i need to get my tractor serviced before leaving the yard.

// LINK UP DOT NUMBER WITH PAGE NUMBER $(document).ready(function() { var totalPageBtns = $('.footer-categories-pagination a.navPages-action.paginator').length; // console.log(totalPageBtns); $('.categories-footer.page').addClass('inactive-page'); $('.categories-footer.page:first').removeClass('inactive-page').addClass('active-page'); $('.footer-categories-pagination span.dots a.navPages-action.paginator:first').addClass('active'); $('.categories-footer.page.inactive-page').hide(); $('.categories-footer.page:first').addClass('active-page'); $('.footer-categories-pagination a.navPages-action.paginator:first').addClass('active-page'); $('.footer-categories-pagination span.dots a.navPages-action.paginator').on ('click', function() { $('.footer-categories-pagination span.dots a.navPages-action.paginator:first').removeClass('inactive'); var activeCatPageNumber = $(this).index(); $('.categories-footer.page'+activeCatPageNumber).removeClass('inactive-page').addClass('active-page').siblings().removeClass('active-page').addClass('inactive-page'); $('.categories-footer.page.active-page').fadeIn(); // console.log(this); $(this).toggleClass('active-page').siblings().removeClass('active-page'); $('.categories-footer.page.active-page.inactive-page').hide(); if ( !($('.footer-categories-pagination a.navPages-action.paginator:first').hasClass("inactive-page")) ){ $('.footer-categories-pagination a.navPages-action.paginator').removeClass('active'); $(this).addClass('active'); } if ( !($('.footer-categories-pagination a.navPages-action.paginator:last').hasClass("inactive-page")) ){ $('.footer-categories-pagination a.navPages-action.paginator').removeClass('active'); $(this).addClass('active'); } }); }); --> $(document).ready(function() { // Get number of pages in dropdown var totalPages = $('div#page-wrapper .page').length; // console.log(totalPages); // ADD CORRESPONDING PAGE NUMBER TO PAGES IN DROPDOWN $('div#page-wrapper .page').each(function(i) { var $this = $(this); // var activePageNumber = $(this).index() + 1; var newClass = "page" + i++; $this.addClass(newClass); }); // ADD CORRESPONDING PAGE NUMBER TO DOTS if (totalPages > 1) { for (i=0; i < totalPages; i++) { $('.pagination-container span.dots').append(' '+(i+1)+' '); } } }); --> $(document).ready(function(){ $('.navPage-subMenu-list.all-second-level-plus-container.flyout-page-wrapper').each(function(i) { var divs = $(this).children(".flyout-page-wrapper .navPage-subMenu-item-child.second-level"); for(var i = 0; i < divs.length; i+=8) { divs.slice(i, i+8).wrapAll("
"); // var numberOfFlyoutPages = $('.flyout.page').length; // console.log(numberOfFlyoutPages); } }); }); --> $(document).ready(function() { $('.navPage-subMenu-list.all-second-level-plus-container.flyout-page-wrapper').each(function(i) { i = 0; $(this).children('div.flyout.page').each(function() { // console.log($this); // var activePageNumber = $(this).index() + 1; var newClass = "page" + i++; // console.log(newClass); $(this).addClass(newClass); }); }); }); --> $(document).ready(function() { $('.mega-cat-dropdown li.navPages-item').hover(function() { $('.flyout.page').removeClass('active-page').addClass('inactive-page'); $('.flyout-page-wrapper .flyout-pagination-container a.navPages-action.paginator').removeClass('active-page'); // $('.flyout-page-wrapper .flyout-pagination-container a.navPages-action.paginator:first').addClass('active-page'); $(this).find('.flyout.page:first').removeClass('inactive-page').addClass('active-page'); $(this).find('.flyout.page.active-page:first .fader').fadeIn(); }); }); $(document).ready(function() { $('.mega-cat-dropdown li.navPages-item').hover(function() { $(this).find('.flyout-pagination-container.bottom a.navPages-action.paginator').removeClass('active-page').addClass('inactive-page'); $(this).find('.flyout-pagination-container.bottom a.navPages-action.paginator:first').addClass('active-page').removeClass('inactive-page'); $('.flyout-pagination-container.top a.navPages-action.previous').addClass('inactive'); $('.flyout-pagination-container.top a.navPages-action.next').removeClass('inactive'); }); }); --> $(document).ready(function(){ if($('.subcategory-image.uploaded').length) { $('.subcategory-grid').addClass('has-images'); $("li.subcategory-item .subcategory-image").fadeIn(); } }); --> $( "span.productView-reviewLink.scroll-to-view > a" ).on ('click', function() { $('html,body').animate({ scrollTop: $(".productView-description").offset().top }, 1000); $(".product-reviews.ui-accordion-header").trigger("click"); return false; }); --> $(window).on("load", function(){ if (window.location.href.indexOf("#product-reviews") > -1) { $('html,body').animate({ scrollTop: $(".productView-description").offset().top }, 2000); // return false; } // $(".product-reviews.ui-accordion-header").trigger("click"); }); --> $(document).ready(function() { $('.mega-cat-nav .container-header.btn').click(function() { $('.mega-cat-dropdown div#page-wrapper .category-list .page').each(function(i) { var maxHeight = 0; maxHeight = maxHeight > $(this).height() ? maxHeight : $(this).height(); // console.log(maxHeight); $('.mega-cat-dropdown div#page-wrapper .category-list .page').height(maxHeight); $('#menu .mega-cat-dropdown .has-subMenu.is-root + .navPage-subMenu-horizontal.second-level-flyout').css('min-height', maxHeight+50); }); var activeDropDownPageHeight = 0; $('.mega-cat-dropdown div#page-wrapper .category-list .page').each(function(i) { var activeDropDownPageHeight = $(this).find('div#page-wrapper .category-list .page.active-page').height(); // console.log(activePageHeight); var inactiveDropDownPages = $(this).find('div#page-wrapper .category-list .page.inactive-page'); // console.log(inactivePages); $(inactiveDropDownPages).css("margin-top", - activeDropDownPageHeight); }); $('.mega-cat-dropdown div#page-wrapper .category-list .page').removeClass('active-page').addClass('inactive-page'); $('.mega-cat-dropdown div#page-wrapper .category-list .page:first').removeClass('inactive-page').addClass('active-page'); // $('.mega-cat-dropdown div#page-wrapper .category-list .page.inactive-page .fader').fadeOut(); // $('.mega-cat-dropdown div#page-wrapper .category-list .page.active-page .fader').fadeIn(); $('.mega-cat-dropdown div#page-wrapper .pagination-container a.navPages-action.paginator').removeClass('active-page').addClass('inactive-page'); $('.mega-cat-dropdown div#page-wrapper .pagination-container a.navPages-action.paginator:first').removeClass('inactive-page').addClass('active-page'); }); }); // $(document).ready(function() { $('.mobileMenu-toggle').click(function() { $('.mega-cat-dropdown div#page-wrapper .category-list .page').each(function(i) { var maxHeight = 0; maxHeight = maxHeight > $(this).height() ? maxHeight : $(this).height(); // console.log(maxHeight); $('.mega-cat-dropdown div#page-wrapper .category-list .page').height(maxHeight); }); var activeDropDownPageHeight = 0; $('.mega-cat-dropdown div#page-wrapper .category-list .page').each(function(i) { var activeDropDownPageHeight = $(this).find('div#page-wrapper .category-list .page.active-page').height(); // console.log(activePageHeight); var inactiveDropDownPages = $(this).find('div#page-wrapper .category-list .page.inactive-page'); // console.log(inactivePages); $(inactiveDropDownPages).css("margin-top", - activeDropDownPageHeight); }); $('.mega-cat-dropdown div#page-wrapper .category-list .page').removeClass('active-page').addClass('inactive-page'); $('.mega-cat-dropdown div#page-wrapper .category-list .page:first').removeClass('inactive-page').addClass('active-page'); // $('.mega-cat-dropdown div#page-wrapper .category-list .page.inactive-page .fader').fadeOut(); // $('.mega-cat-dropdown div#page-wrapper .category-list .page.active-page .fader').fadeIn(); $('.mega-cat-dropdown div#page-wrapper .pagination-container a.navPages-action.paginator').removeClass('active-page').addClass('inactive-page'); $('.mega-cat-dropdown div#page-wrapper .pagination-container a.navPages-action.paginator:first').removeClass('inactive-page').addClass('active-page'); }); }); $(document).ready(function() { $('a.navUser-action.navUser-action--quickSearch.desktop-toggle').on("click", function(){ // $('header.header').addClass('is-open'); $('header.header').addClass('quick-search-is-open'); $('.mobileMenu-toggle').addClass("is-open"); $(".mobileMenu-toggle").attr("aria-expanded","true"); }); }); $(document).ready(function() { $('.quickSearch-mobileToggle').click(function(e){ // $('header.header').removeClass('is-open'); $('header.header').removeClass('quick-search-is-open'); $('.mobileMenu-toggle').removeClass("is-open"); $(".mobileMenu-toggle").attr("aria-expanded","false"); $('.dropdown--quickSearch.is-open').removeClass('is-open'); }); }); $(document).ready(function() { $(document).click(function(){ $( "a.navUser-action.navUser-action--quickSearch.mobile-submit" ).on("click", function(){ // event.preventDefault(); $('#quickSearch form.form').trigger('submit'); }); }); }); $(document).ready(function() { if($(window).innerWidth() < 800) { // $('.mega-cat-dropdown').prependTo('#menu-wrapper'); } }); $(document).ready(function() { $(window).resize(function(){ if($(window).innerWidth() < 800) { // $('.mega-cat-dropdown').prependTo('#menu-wrapper'); } }); }); // // $(window).resize(function(){ if($(window).innerWidth() <= 800) { $(document).ready(function() { $( "a.mobileMenu-toggle" ).click(function( event ) { $('.flyout.page').css('height','auto'); $('.mega-cat-dropdown div#page-wrapper .category-list .page.active-page').css('height', 'auto'); $('.mega-cat-dropdown li.navPages-item').removeClass('mobile-parent-active'); $('.mega-cat-dropdown .has-subMenu.is-root + .navPage-subMenu-horizontal.second-level-flyout').slideUp(); $(".mega-cat-dropdown").animate({ scrollTop: 0 }, 300); }); }); } // }); // // $(window).resize(function(){ if($(window).innerWidth() > 800) { $(document).ready(function() { $( ".mega-cat-dropdown a.navPages-action.paginator" ).click(function( event ) { $('.mega-cat-dropdown li.navPages-item').removeClass('mobile-parent-active'); $('.mega-cat-dropdown .has-subMenu.is-root + .navPage-subMenu-horizontal.second-level-flyout').slideUp(); $(".mega-cat-dropdown").animate({ scrollTop: 0 }, 300); }); }); } // }); // // $(window).resize(function(){ if($(window).innerWidth() <= 800) { $(document).ready(function() { $( ".mega-cat-dropdown a.navPages-action.paginator" ).click(function( event ) { $('.mega-cat-dropdown li.navPages-item').removeClass('mobile-parent-active'); $('.mega-cat-dropdown .has-subMenu.is-root + .navPage-subMenu-horizontal.second-level-flyout').slideUp(); $(".mega-cat-dropdown").animate({ scrollTop: 0 }, 0); }); }); } // }); // $(window).resize(function(){ if($(window).innerWidth() <= 800) { $(document).ready(function() { $( ".mega-cat-dropdown .category-list li.top-level i.icon.navPages-action-moreIcon.topLevel" ).click(function( event ) { $('.flyout.page').css('height','auto'); $('.mega-cat-dropdown div#page-wrapper .category-list .page.active-page').css('height', 'auto'); $(this).parents('li.navPages-item.top-level').toggleClass('mobile-parent-active'); $(this).parents('li.navPages-item.top-level').find('i.icon.navPages-action-moreIcon').toggleClass('mobile-icon-active'); $(this).parents('li.navPages-item.top-level').find('.second-level-flyout').slideToggle(); event.preventDefault(); }); }); } // }); $(document).ready(function() { if($(window).innerWidth() <= 800) { $( ".mega-cat-dropdown .category-list i.icon.navPages-action-moreIcon.second-level" ).click(function( event ) { $(this).parents('li.navPage-subMenu-item-child.second-level').toggleClass('mobile-parent-active'); $(this).parents('li.navPage-subMenu-item-child.second-level').find('i.icon.navPages-action-moreIcon').toggleClass('mobile-icon-active'); $(this).parents('li.navPage-subMenu-item-child.second-level').find('.third-level-flyout').slideToggle(); event.preventDefault(); }); } }); // NAVPAGES FIX $(document).ready(function() { if($(window).innerWidth() <= 800) { $( "#menu .mega-cat-dropdown i.mega-nav-pages" ).click(function( event ) { // $(this).parents('li.navPages-item.top-level.mega-nav-pages').toggleClass('mobile-parent-active'); // $(this).parents('li').find('ul:first').toggleClass('activeDropDown'); $(this).parent('.navPages-action').find('i.mega-nav-pages:first').toggleClass('mobile-icon-active'); // if ($('li.navPages-item.top-level.mega-nav-pages').hasClass('mobile-parent-active')) { // $(this).parents('li.navPages-item.top-level.mega-nav-pages').find('i.icon.navPages-action-moreIcon').addClass('mobile-icon-active'); $(this).parent('.navPages-action').siblings('.navPage-subMenu').toggleClass('visible').slideToggle(); $(this).parent('.navPages-action').siblings('.navPage-childList').toggleClass('visible').slideToggle(); console.log("arrow click"); // } else { // // $(this).parents('li.navPages-item.top-level.mega-nav-pages').find('.second-level-flyout').slideUp(); // // $(this).parents('li.navPages-item.top-level.mega-nav-pages').find('i.icon.navPages-action-moreIcon').removeClass('mobile-icon-active'); // } event.preventDefault(); }); } }); // $(document).click(function(event) { if ( !$(event.target).hasClass('signout-list')) { $("div#account-dropdown-signout-list").hide(); event.stopPropagation(); } }); // if ($(window).width() < 801) { $('li.navUser-item.navUser-item--account.user-icons.account .navUser-action').click(function(e){ e.preventDefault(); $('div#account-dropdown-signout-list').toggleClass('visible'); $('div#cart-preview-dropdown.dropdown-menu.is-open.f-open-dropdown').hide(); }); } else{ $('li.navUser-item.navUser-item--account.user-icons.account').hover(function(e){ $('div#account-dropdown-signout-list').toggleClass('visible'); $('div#cart-preview-dropdown.dropdown-menu.is-open.f-open-dropdown').hide(); // e.preventDefault(); // e.stopPropagation(); }); } // if ($(window).width() < 801) { $('li.navUser-item.navUser-item--account.user-icons.account .navUser-action').click(function(e){ e.preventDefault(); $('div#account-dropdown-signin-list').toggleClass('visible'); $('div#cart-preview-dropdown.dropdown-menu.is-open.f-open-dropdown').hide(); }); } else{ $('li.navUser-item.navUser-item--account.user-icons.account').hover(function(e){ $('div#account-dropdown-signin-list').toggleClass('visible'); $('div#cart-preview-dropdown.dropdown-menu.is-open.f-open-dropdown').hide(); // e.preventDefault(); // e.stopPropagation(); }); } $('.navUser-action.account .dropdown-menu').hover(function(e){ $(this).addClass('visible'); }); $(document).click(function(event) { if ( !$(event.target).hasClass('signin-register')) { $("div#account-dropdown-signin-register").hide(); event.stopPropagation(); } }); $('.navUser-action.account.signin-register').click(function(e){ $('div#account-dropdown-signin-register').toggle(); $('div#cart-preview-dropdown.dropdown-menu.is-open.f-open-dropdown').hide(); e.preventDefault(); e.stopPropagation(); }); $(document).ready(function(){ $('.dropdown-menu.signout-list a.signout-list:contains("(undefined)")').each(function() { var newText = $(this).html().replace("(undefined)", ""); $(this).html(newText); }); }); // $(document).ready(function() { $('.navPage-subMenu-list.all-second-level-plus-container.flyout-page-wrapper').each(function(i) { i = 0; $(this).children('div.flyout.page').each(function() { // console.log($this); // var activePageNumber = $(this).index() + 1; var newClass = "page" + i++; // console.log(newClass); $(this).addClass(newClass); }); }); }); // $(document).ready(function() { $('.navPage-subMenu.navPage-subMenu-horizontal.second-level-flyout').each(function(i) { var flyoutPages = $(this).find('.flyout-page-wrapper .page').length; // console.log(flyoutPages); if (flyoutPages > 1) { $(this).find('.flyout-pagination-container.bottom span.dots').addClass('visible'); for (i=0; i < flyoutPages; i++) { $(this).find('.flyout-pagination-container.bottom span.dots').append(' '+(i+1)+' '); } } }); }); $(document).ready(function() { var totalPageBtns = $('.flyout-page-wrapper a.navPages-action.paginator').length; // console.log(totalPageBtns); $('.flyout-pagination-container.bottom a.navPages-action.paginator').on ('click', function() { var activePageNumber = $(this).index(); // console.log(activePageNumber); $('.navPage-subMenu.navPage-subMenu-horizontal.second-level-flyout.active-flyout').each(function(i) { var firstPage = $(this).find('.flyout.page:first').addClass('first'); var lastPage = $(this).find('.flyout.page:last').addClass('last'); // FIRST PAGE ACTIVE - DEACTIVE PREVIOUS ARROW if ( ($(firstPage).hasClass("active-page")) && ($(lastPage).hasClass("inactive-page")) ){ $('.flyout-pagination-container.top a.navPages-action.next').removeClass('inactive').addClass('active'); $('.flyout-pagination-container.top a.navPages-action.previous').removeClass('active').addClass('inactive'); // console.log("FirstPage-Active & LastPage-Inactive"); } // FIRST & LAST PAGE INACTIVE - ACTIVATE BOTH PREVIOUS & NEXT ARROWS if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("inactive-page")) ){ $('.flyout-pagination-container.top a.navPages-action.next').removeClass('inactive').addClass('active'); $('.flyout-pagination-container.top a.navPages-action.previous').removeClass('inactive').addClass('active'); // console.log("First & Last Page are inactive"); } // LAST PAGE ACTIVE - DEACTIVATE NEXT ARROW if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("active-page")) ){ $('.flyout-pagination-container.top a.navPages-action.next').removeClass('active').addClass('inactive'); $('.flyout-pagination-container.top a.navPages-action.previous').removeClass('inactive').addClass('active'); // console.log("FirstPage-Inactive & LastPage-Active"); } // var activePageHeight = -1; // $('.navPage-subMenu.navPage-subMenu-horizontal.second-level-flyout.active-flyout').each(function(i) { // var activePageHeight = $(this).find('div.flyout.page.active-page').height(); // // console.log(activePageHeight); // }); }); }); }); // $(document).ready(function() { $('li.navPages-item.top-level.categories').each(function(i) { var flyoutPages = $(this).find('.flyout-page-wrapper .page').length; if (flyoutPages > 1) { $(this).find('.flyout-pagination-container.top').addClass('visible'); } }); }); // $(document).ready(function() { // $('.navPage-subMenu.navPage-subMenu-horizontal.flyout.second-level').each(function(i) { // var flyoutPages = $(this).find('.flyout-page-wrapper .page').length; // console.log(flyoutPages); $('.flyout-pagination-container.top a.navPages-action.next').click(function(){ // console.log('click'); var activePage = $('.flyout.page.active-page'); $('.flyout.page.active-page').addClass('inactive-page').removeClass('active-page'); $(activePage).next('div.flyout.page').removeClass('inactive-page').addClass('active-page'); var activePageDot = $('.navPage-subMenu-horizontal.second-level-flyout a.navPages-action.paginator.active-page'); $('.navPage-subMenu-horizontal.second-level-flyout a.navPages-action.paginator.active-page').addClass('inactive-page').removeClass('active-page'); $(activePageDot).next('.navPage-subMenu-horizontal.second-level-flyout a.navPages-action.paginator').removeClass('inactive-page').addClass('active-page'); $('.flyout-page-wrapper .page.active-page .fader').fadeIn(); $('.flyout-page-wrapper .page.inactive-page .fader').hide(); $('.navPage-subMenu.navPage-subMenu-horizontal.second-level-flyout.active-flyout').each(function(i) { var lastPage = $(this).find('.desktop .flyout.page:last').addClass('last'); var firstPage = $(this).find('.desktop .flyout.page:first').addClass('first'); // FIRST PAGE ACTIVE - DEACTIVE PREVIOUS ARROW if ( ($(firstPage).hasClass("active-page")) && ($(lastPage).hasClass("inactive-page")) ){ $('.flyout-pagination-container.top a.navPages-action.next').removeClass('inactive').addClass('active'); $('.flyout-pagination-container.top a.navPages-action.previous').removeClass('active').addClass('inactive'); // console.log("FirstPage-Active & LastPage-Inactive"); } // FIRST & LAST PAGE INACTIVE - ACTIVATE BOTH PREVIOUS & NEXT ARROWS if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("inactive-page")) ){ $('.flyout-pagination-container.top a.navPages-action.next').removeClass('inactive').addClass('active'); $('.flyout-pagination-container.top a.navPages-action.previous').removeClass('inactive').addClass('active'); // console.log("First & Last Page are inactive"); } // LAST PAGE ACTIVE - DEACTIVATE NEXT ARROW if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("active-page")) ){ $('.flyout-pagination-container.top a.navPages-action.next').removeClass('active').addClass('inactive'); $('.flyout-pagination-container.top a.navPages-action.previous').removeClass('inactive').addClass('active'); // console.log("FirstPage-Inactive & LastPage-Active"); } // var activePageHeight = -1; // $('.navPage-subMenu.navPage-subMenu-horizontal.second-level-flyout.active-flyout').each(function(i) { // var activePageHeight = $(this).find('div.flyout.page.active-page').height(); // // console.log(activePageHeight); // }); }); }); }); // $(document).ready(function() { // $('.navPage-subMenu.navPage-subMenu-horizontal.flyout.second-level').each(function(i) { // var flyoutPages = $(this).find('.flyout-page-wrapper .page').length; // console.log(flyoutPages); $('.flyout-pagination-container.top a.navPages-action.previous').click(function(){ // console.log('click'); var activePage = $('.flyout.page.active-page'); $('.flyout.page.active-page').addClass('inactive-page').removeClass('active-page'); $(activePage).prev('div.flyout.page').removeClass('inactive-page').addClass('active-page'); var activePageDot = $('.navPage-subMenu-horizontal.second-level-flyout a.navPages-action.paginator.active-page'); $('.navPage-subMenu-horizontal.second-level-flyout a.navPages-action.paginator.active-page').addClass('inactive-page').removeClass('active-page'); $(activePageDot).prev('.navPage-subMenu-horizontal.second-level-flyout a.navPages-action.paginator').removeClass('inactive-page').addClass('active-page'); $('.flyout-page-wrapper .page.active-page .fader').fadeIn(); $('.flyout-page-wrapper .page.inactive-page .fader').hide(); $('.navPage-subMenu.navPage-subMenu-horizontal.second-level-flyout.active-flyout').each(function(i) { var firstPage = $(this).find('.desktop .flyout.page:first').addClass('first'); var lastPage = $(this).find('.desktop .flyout.page:last').addClass('last'); // FIRST PAGE ACTIVE - DEACTIVE PREVIOUS ARROW if ( ($(firstPage).hasClass("active-page")) && ($(lastPage).hasClass("inactive-page")) ){ $('.flyout-pagination-container.top a.navPages-action.next').removeClass('inactive').addClass('active'); $('.flyout-pagination-container.top a.navPages-action.previous').removeClass('active').addClass('inactive'); // console.log("FirstPage-Active & LastPage-Inactive"); } // FIRST & LAST PAGE INACTIVE - ACTIVATE BOTH PREVIOUS & NEXT ARROWS if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("inactive-page")) ){ $('.flyout-pagination-container.top a.navPages-action.next').removeClass('inactive').addClass('active'); $('.flyout-pagination-container.top a.navPages-action.previous').removeClass('inactive').addClass('active'); // console.log("First & Last Page are inactive"); } // LAST PAGE ACTIVE - DEACTIVATE NEXT ARROW if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("active-page")) ){ $('.flyout-pagination-container.top a.navPages-action.next').removeClass('active').addClass('inactive'); $('.flyout-pagination-container.top a.navPages-action.previous').removeClass('inactive').addClass('active'); // console.log("FirstPage-Inactive & LastPage-Active"); } var activePageHeight = -1; $('.navPage-subMenu.navPage-subMenu-horizontal.second-level-flyout.active-flyout').each(function(i) { var activePageHeight = $(this).find('div.flyout.page.active-page').height(); // console.log(activePageHeight); }); }); }); }); $(document).ready(function() { $('a.navPages-action.paginator').on ('click', function() { var activePageNumber = $(this).index(); $(this).removeClass('inactive-page').toggleClass('active-page').siblings().removeClass('active-page').addClass('inactive-page'); // console.log(activePageNumber); // console.log(this); $('.flyout-page-wrapper .page'+activePageNumber).removeClass('inactive-page').addClass('active-page').siblings().removeClass('active-page').addClass('inactive-page'); }); }); // // $(document).ready(function() { var footerCatPages = $('.categories-footer.page').length; if (footerCatPages > 1) { $('.footer-categories-pagination').show(); } }); // $(document).ready(function() { var firstPage = $('.categories-footer.page:first'); var lastPage = $('.categories-footer.page:last'); $(firstPage).addClass('first'); $(lastPage).addClass('last'); // SET PREVIOUS TO not-clickable on page load $('.footer-categories-pagination a.navPages-action.previous').addClass('not-clickable'); $('.footer-categories-pagination a.navPages-action.next').click(function(){ var activePage = $('.categories-footer.page.active-page'); $('.categories-footer.page.active-page').addClass('inactive-page').removeClass('active-page'); $(activePage).next('.categories-footer.page').removeClass('inactive-page').addClass('active-page'); $('.categories-footer.page.active-page').fadeIn(); $('.categories-footer.page.inactive-page').hide(); $('.categories-footer.page').each(function(i) { // FIRST PAGE ACTIVE - DEACTIVE PREVIOUS ARROW if ( ($(firstPage).hasClass("active-page")) && ($(lastPage).hasClass("inactive-page")) ){ $('.footer-categories-pagination a.navPages-action.next').removeClass('not-clickable').addClass('clickable'); $('.footer-categories-pagination a.navPages-action.previous').removeClass('clickable').addClass('not-clickable'); // console.log("FirstPage-Active & LastPage-Inactive"); } // FIRST & LAST PAGE INACTIVE - ACTIVATE BOTH PREVIOUS & NEXT ARROWS if ( ($(firstPage).hasClass("inactive-page")) && ($(lastPage).hasClass("inactive-page")) ){ // if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("inactive-page")) ){ $('.footer-categories-pagination a.navPages-action.next').removeClass('not-clickable').addClass('clickable'); $('.footer-categories-pagination a.navPages-action.previous').removeClass('not-clickable').addClass('clickable'); // console.log("First & Last Page are inactive"); } // LAST PAGE ACTIVE - DEACTIVATE NEXT ARROW if ( ($(firstPage).hasClass("inactive-page")) && ($(lastPage).hasClass("active-page")) ){ // if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("active-page")) ){ $('.footer-categories-pagination a.navPages-action.next').removeClass('clickable').addClass('not-clickable'); $('.footer-categories-pagination a.navPages-action.previous').removeClass('not-clickable').addClass('clickable'); // console.log("FirstPage-Inactive & LastPage-Active"); } // var activePageHeight = -1; // $('.navPage-subMenu.navPage-subMenu-horizontal.second-level-flyout.active-flyout').each(function(i) { // var activePageHeight = $(this).find('div.flyout.page.active-page').height(); // // console.log(activePageHeight); // }); }); }); }); // $(document).ready(function() { var firstPage = $('.categories-footer.page:first'); var lastPage = $('.categories-footer.page:last'); // SET PREVIOUS TO not-clickable on page load $('.footer-categories-pagination a.navPages-action.previous').addClass('not-clickable'); $('.footer-categories-pagination a.navPages-action.previous').click(function(){ var activePage = $('.categories-footer.page.active-page'); $('.categories-footer.page.active-page').addClass('inactive-page').removeClass('active-page'); $(activePage).prev('.categories-footer.page').removeClass('inactive-page').addClass('active-page'); $('.categories-footer.page.active-page').fadeIn(); $('.categories-footer.page.inactive-page').hide(); $('.categories-footer.page').each(function(i) { // FIRST PAGE ACTIVE - DEACTIVE PREVIOUS ARROW if ( ($(firstPage).hasClass("active-page")) && ($(lastPage).hasClass("inactive-page")) ){ $('.footer-categories-pagination a.navPages-action.next').removeClass('not-clickable').addClass('clickable'); $('.footer-categories-pagination a.navPages-action.previous').removeClass('clickable').addClass('not-clickable'); // console.log("FirstPage-Active & LastPage-Inactive"); } // FIRST & LAST PAGE INACTIVE - ACTIVATE BOTH PREVIOUS & NEXT ARROWS if ( ($(firstPage).hasClass("inactive-page")) && ($(lastPage).hasClass("inactive-page")) ){ // if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("inactive-page")) ){ $('.footer-categories-pagination a.navPages-action.next').removeClass('not-clickable').addClass('clickable'); $('.footer-categories-pagination a.navPages-action.previous').removeClass('not-clickable').addClass('clickable'); // console.log("First & Last Page are inactive"); } // LAST PAGE ACTIVE - DEACTIVATE NEXT ARROW if ( ($(firstPage).hasClass("inactive-page")) && ($(lastPage).hasClass("active-page")) ){ // if ( ($(this).find(firstPage).hasClass("inactive-page")) && ($(this).find(lastPage).hasClass("active-page")) ){ $('.footer-categories-pagination a.navPages-action.next').removeClass('clickable').addClass('not-clickable'); $('.footer-categories-pagination a.navPages-action.previous').removeClass('not-clickable').addClass('clickable'); // console.log("FirstPage-Inactive & LastPage-Active"); } // var activePageHeight = -1; // $('.navPage-subMenu.navPage-subMenu-horizontal.second-level-flyout.active-flyout').each(function(i) { // var activePageHeight = $(this).find('div.flyout.page.active-page').height(); // // console.log(activePageHeight); // }); }); }); }); --> $(document).ready(function(){ if($('.blog-image.uploaded').length) { $(".blog-post-figure").fadeIn(); } }); // BLOG IMAGE VISIBILITY $(window).on("load", function(){ if ($('.blog-image').hasClass('uploaded')) { $('.blog-post-figure').addClass('hasImage'); $('article.blog').addClass('hasImage'); } else { $('.blog-post-figure').addClass('noImage'); $('article.blog').addClass('noImage'); } }); // CUSTOM - SET FIGURE WIDTH TO EQUAL FIGURE HEIGHT TO KEEP FIGURE SQAURE $(window).on("load", function(){ var blogImgHeight = $('figure.blog-thumbnail.blog-image.uploaded').height(); console.log(blogImgHeight); $('.blog-image.placeholder-image').attr('style', 'min-height:' +blogImgHeight+ 'px !important'); }); // FOR WINDOW DRAGGERS & THEME EDITOR RESPONSIVE BUTTONS window.addEventListener("resize", function() { var blogImgHeight = $('figure.blog-thumbnail.blog-image.uploaded').height(); console.log(blogImgHeight); $('.blog-image.placeholder-image').attr('style', 'min-height:' +blogImgHeight+ 'px !important'); }, 200); // $(window).on("load", function(){ $('article.blog').each(function(i) { var maxHeight = 0; maxHeight = maxHeight > $(this).height() ? maxHeight : $(this).height(); console.log(maxHeight); $('article.blog').height(maxHeight); }); }); // FOR WINDOW DRAGGERS & THEME EDITOR RESPONSIVE BUTTONS window.addEventListener("resize", function() { $('article.blog').each(function(i) { var maxHeight = 0; maxHeight = maxHeight > $(this).height() ? maxHeight : $(this).height(); console.log(maxHeight); $('article.blog ').height(maxHeight); }); }, 200); -->