null

We are closed on 1 & 2 January. Limited shipping on 31 December;
most orders placed now will ship on Friday 3 January.

Hikari Instruments Quad Switch Eurorack Module

Hikari Instruments

£119.00
In stock.
Adding to cart… The item has been added
Shipping info

Introducing the Hikari Quad Switch, an incredibly versatile Eurorack routing module featuring four channels, each equipped with two switches—one normally connected and one normally disconnected.

Controlled by a CV input that is normaled down to all four channels, the switches provide flexible signal routing options. When the control CV for a specific channel exceeds 3.9V, the first switch is connected, allowing the signal to pass through. On the other hand, when the control CV for the channel is below 3.4V, the second switch is connected, providing an alternative signal routing path. Between these voltage thresholds, neither switch is engaged, ensuring no signal connection is made. To provide a visual representation of the signal routing, each switch is accompanied by a convenient LED indicator.

Experience unparalleled control and visual feedback with the Hikari Quad Switch. Unlock new possibilities in signal routing and explore creative audio pathways within your Eurorack system.

Power connector: the module ships with the power ribbon cable connected with the red stripe (at the TOP of the module) aligned to -12V.
If you remove or change this cable, please ensure that the side of the ribbon cable at the TOP of the module is connected to the negative rail of your power bus, irrespective of the location of the red stripe. Failure to check this may result in damage to your module upon power-up.

8 HP

20mA: +12V

5mA : -12V

27mm Depth

How much is my shipping?

Shipping is automatically calculated before you submit your payment information. Simply add items to your cart and proceed to the checkout page, where you'll be offered shipping options and their prices. In the UK it's normally around £4 for order values under £150, and free above that. Shipping to mainland EU is typically between £7 and £20, depending on the shipping method and the size and weight of the order.

Do you ship to my country?

Almost certainly - the site will give you an estimate of shipping costs if you add an item to the cart and then enter your country and postcode. If you have specific requirements (such as if you prefer UPS over FedEx, for example) then let us know in advance and we'll try to work something out for you.

Shipping methods

We use a combination of Parcelforce, DPD, Royal Mail and UPS for the UK, and for international orders it's either Royal Mail, UPS, DHL or FedEx depending on where you are in the world. If you have a particular preference then try to let us know BEFORE you order so we can look into it for you. Please note that there may occasionally be additional shipping charges if you live in a remote area, depending on what surcharges are applied by the shipper. We'll get in touch to discuss this with you in such cases.

Dispatch times

For UK orders, we normally dispatch the same working day if we get the order before 15:00. If you have a really urgent situation then of course drop us an email before ordering and we'll always do our absolute best to accommodate you.

For international orders, we normally dispatch the same day if we get the order before 13:00 but again, occasionally it might be the next day before we can send it out, and sometimes FedEx or UPS may come a little earlier than scheduled which would also push an order into the next day.

Shipping times

Since April 2020 the couriers we use have suspended guarantees for shipping times, so even though we're paying them for priority services - 24-48 hours for most of the world - in practice it's often an extra day on top and sometimes it can be longer.

There is absolutely nothing we can do about this unfortunately. If you are outside the UK and it's a life-or-death situation where you absolutely MUST have that passive mult for the next day then... it may be better to find a local supplier.

Saturday shipping

If you're in the UK and you order before 15:00 on a Friday then we can send something for a Saturday delivery (NB: this applies to UK mainland addresses only). The success rate with DPD is about 95% so it's worth a punt most of the time. Please note that if you select Saturday shipping on an order placed earlier in the week, we'll wait until Friday to ship it.

Pre-orders

If a product is listed as a pre-order, it means we've ordered it from the supplier but it's not physically in stock yet. The product listing will include an estimated shipping date based on the best information we have from the supplier, but do bear in mind this is subject to change and is not a guaranteed date.

If you place an order containing a mixture of in-stock and pre-order items, we'll normally hold off on shipping anything until the pre-order item(s) have arrived, rather than splitting it into multiple shipments. If you need the in-stock items sooner, we'd recommend placing separate orders. As always, please get in touch if you have questions.

Product Overview

Introducing the Hikari Quad Switch, an incredibly versatile Eurorack routing module featuring four channels, each equipped with two switches—one normally connected and one normally disconnected.

Controlled by a CV input that is normaled down to all four channels, the switches provide flexible signal routing options. When the control CV for a specific channel exceeds 3.9V, the first switch is connected, allowing the signal to pass through. On the other hand, when the control CV for the channel is below 3.4V, the second switch is connected, providing an alternative signal routing path. Between these voltage thresholds, neither switch is engaged, ensuring no signal connection is made. To provide a visual representation of the signal routing, each switch is accompanied by a convenient LED indicator.

Experience unparalleled control and visual feedback with the Hikari Quad Switch. Unlock new possibilities in signal routing and explore creative audio pathways within your Eurorack system.

Power connector: the module ships with the power ribbon cable connected with the red stripe (at the TOP of the module) aligned to -12V.
If you remove or change this cable, please ensure that the side of the ribbon cable at the TOP of the module is connected to the negative rail of your power bus, irrespective of the location of the red stripe. Failure to check this may result in damage to your module upon power-up.

Technical Specs

8 HP

20mA: +12V

5mA : -12V

27mm Depth

Shipping Details

How much is my shipping?

Shipping is automatically calculated before you submit your payment information. Simply add items to your cart and proceed to the checkout page, where you'll be offered shipping options and their prices. In the UK it's normally around £4 for order values under £150, and free above that. Shipping to mainland EU is typically between £7 and £20, depending on the shipping method and the size and weight of the order.

Do you ship to my country?

Almost certainly - the site will give you an estimate of shipping costs if you add an item to the cart and then enter your country and postcode. If you have specific requirements (such as if you prefer UPS over FedEx, for example) then let us know in advance and we'll try to work something out for you.

Shipping methods

We use a combination of Parcelforce, DPD, Royal Mail and UPS for the UK, and for international orders it's either Royal Mail, UPS, DHL or FedEx depending on where you are in the world. If you have a particular preference then try to let us know BEFORE you order so we can look into it for you. Please note that there may occasionally be additional shipping charges if you live in a remote area, depending on what surcharges are applied by the shipper. We'll get in touch to discuss this with you in such cases.

Dispatch times

For UK orders, we normally dispatch the same working day if we get the order before 15:00. If you have a really urgent situation then of course drop us an email before ordering and we'll always do our absolute best to accommodate you.

For international orders, we normally dispatch the same day if we get the order before 13:00 but again, occasionally it might be the next day before we can send it out, and sometimes FedEx or UPS may come a little earlier than scheduled which would also push an order into the next day.

Shipping times

Since April 2020 the couriers we use have suspended guarantees for shipping times, so even though we're paying them for priority services - 24-48 hours for most of the world - in practice it's often an extra day on top and sometimes it can be longer.

There is absolutely nothing we can do about this unfortunately. If you are outside the UK and it's a life-or-death situation where you absolutely MUST have that passive mult for the next day then... it may be better to find a local supplier.

Saturday shipping

If you're in the UK and you order before 15:00 on a Friday then we can send something for a Saturday delivery (NB: this applies to UK mainland addresses only). The success rate with DPD is about 95% so it's worth a punt most of the time. Please note that if you select Saturday shipping on an order placed earlier in the week, we'll wait until Friday to ship it.

Pre-orders

If a product is listed as a pre-order, it means we've ordered it from the supplier but it's not physically in stock yet. The product listing will include an estimated shipping date based on the best information we have from the supplier, but do bear in mind this is subject to change and is not a guaranteed date.

If you place an order containing a mixture of in-stock and pre-order items, we'll normally hold off on shipping anything until the pre-order item(s) have arrived, rather than splitting it into multiple shipments. If you need the in-stock items sooner, we'd recommend placing separate orders. As always, please get in touch if you have questions.

// 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) { 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(); var inactiveDropDownPages = $(this).find('div#page-wrapper .category-list .page.inactive-page'); $(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 .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(); var inactiveDropDownPages = $(this).find('div#page-wrapper .category-list .page.inactive-page'); $(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 .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('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('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(){ $('#quickSearch form.form').trigger('submit'); }); }); }); // 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); }); }); } // 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); }); }); } // 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); }); }); } if($(window).innerWidth() <= 800) { $(document).ready(function() { $( ".mega-cat-dropdown .category-list li.top-level i.icon.navPages-action-moreIcon.topLevel, .mega-cat-dropdown .category-list li.top-level > .mobile > a.has-subMenu" ).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(); }); } }); // $(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(); }); } // 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(); }); } $('.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() { var newClass = "page" + i++; $(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; $('.flyout-pagination-container.bottom a.navPages-action.paginator').on ('click', function() { var activePageNumber = $(this).index(); $('.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'); } // 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'); } // 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'); } }); }); }); // $(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() { $('.flyout-pagination-container.top a.navPages-action.next').click(function(){ 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 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'); } // 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'); } }); }); }); // $(document).ready(function() { $('.flyout-pagination-container.top a.navPages-action.previous').click(function(){ 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('.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'); } // 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'); } // 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'); } 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(); }); }); }); }); $(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'); $('.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'); } // FIRST & LAST PAGE INACTIVE - ACTIVATE BOTH PREVIOUS & NEXT ARROWS if ( ($(firstPage).hasClass("inactive-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('not-clickable').addClass('clickable'); } // LAST PAGE ACTIVE - DEACTIVATE NEXT ARROW if ( ($(firstPage).hasClass("inactive-page")) && ($(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'); } }); }); }); // $(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'); } // 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'); } // LAST PAGE ACTIVE - DEACTIVATE NEXT ARROW if ( ($(firstPage).hasClass("inactive-page")) && ($(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'); } }); }); }); --> $(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(); $('.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(); $('.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(); $('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(); $('article.blog ').height(maxHeight); }); }, 200 ); -->