Lead #2915

Company
Waltons Business Advisers
Website
https://waltonsba.co.uk
Best Contact
Email
()

Override

Captured Pages

Emails: hello@waltonsba.co.uk, paul.harrison@waltonsba.co.uk, heather.odriscoll@waltonsba.co.uk, graeme.surtees@waltonsba.co.uk, george.hardey@waltonsba.co.uk, sharon.hutchinson@waltonsba.co.uk, paul.buckley@waltonsba.co.uk, louise.baker@waltonsba.co.uk, shirley.blackwood@waltonsba.co.uk, jeanette.henderson@waltonsba.co.uk
View text
About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Accounts and managed services Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax QuickBooks Xero FreeAgent Sage News & resources Waltons blog #TeamWaltons news Publications Business news Client login Contact 01429 234414 OneClick hello@waltonsba.co.uk About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Accounts and managed services Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax Cloud Accounting Solutions QuickBooks FreeAgent Xero Sage News & resources Waltons blog #TeamWaltons news Publications Business news Client login Contact us About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Accounts and managed services Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Tax investigation service Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax QuickBooks Xero Sage News & resources Waltons blog #TeamWaltons news Publications Calculators Business news Client login Contact Our team Home | About us | Our team A strong, vibrant team, experts in their field Led, by our Managing Director, Paul Harrison, we have a team of talented individuals you can believe in. It might sound like marketing speech, but that sums up #TeamWaltons. We trust our team, and the commitment in what they do, and the results they bring. It’s testament to the work they produce week in, week out, as to where we are as a firm. Paul Harrison Managing Director 01429 234414 Email me View profile Heather O’Driscoll Senior Director 01429 234414 Email me View profile Graeme Surtees Director 01429 234414 Email me View profile George Hardey Director 01429 234414 Email me View profile Sharon Hutchinson Operations Director 01429 234414 Email me View profile Paul Buckley Associate & Senior Tax Manager 01429 234414 Email me View profile Louise Baker Business Assurance Team Senior Manager & Associate 01429 234414 Email me View profile Shirley Blackwood Client Relationship & Marketing Manager 01429 234414 Email me View profile Jeanette Henderson Finance Manager 01429 234414 Email me View profile Chris Hunter Cloud Accounting & Tax (CAT) Team Manager 01429 234414 View profile Mandy Measor Client Services Team Manager 01429 234414 View profile Andy Al-Dick Cloud Accounting & Tax (CAT) Team, Assistant Manager 01429 234414 View profile Ben Bramwell Tax Team, Assistant Manager 01429 234414 View profile Jamie Gibbon Business Assurance Team, Assistant Manager 01429 234414 View profile Angus Kerr Cloud Accounting & Tax (CAT) Team, Assistant Manager 01429 234414 View profile Paige Robson Business Assurance Team, Assistant Manager 01429 234414 View profile Yvonne Breckon Tax Senior 01429 234414 View profile Jack Butler Cloud Accounting & Tax Team 01429 234414 View profile Sue Coaten Cloud Accounting & Tax (CAT) Team, Senior 01429 234414 View profile Katie Colledge Payroll Assistant 01429 234414 View profile Matthew Egglestone Tax Senior 01429 234414 Email me View profile Taylor Hastings Cloud Accounting & Tax Team 01429 234414 View profile Abby Lundrigan Business Assurance Team, Audit Assistant 01429 234414 View profile Danny Mackell Business Assurance Team, Audit Assistant 01429 234414 View profile Rachel Malcolm Business Assurance Team, Audit Assistant 01429 234414 View profile Liam Measor Tax Senior 01429 234414 View profile Danny Noble Cloud Accounting & Tax (CAT) Team, Assistant 01429 234414 View profile Ashley Norman Client Services Team 01429 234414 View profile Carley Sedgwick Client Services Team 01429 234414 View profile Kadir Shabir Cloud Accounting and Tax (CAT) Team, Senior 01429 234414 View profile Kate Wells Finance Assistant 01429 234414 View profile Hopefully we’ve piqued your interest? Let's talk We’re a really friendly bunch and would love to hear from you. We won’t bog you down with technical jargon. We like to keep things simple and to the point. Get in touch to arrange a no obligation meeting and we can have a chat about your future needs. Let's talk Contact us 01429 234414 hello@waltonsba.co.uk Maritime House Harbour Walk The Marina Hartlepool TS24 0UX Official information Waltons Business Advisers is the trading name of Waltons Business Advisers Limited. Registered in England & Wales. Company Registration Number: 08931751 | VAT No: 546917804 Client login Terms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Facebook Twitter LinkedIn Youtube {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); var et_link_options_data = [{"class":"et_pb_blurb_0_tb_header","url":"https:\/\/waltonsba.accountantspace.co.uk\/html\/","target":"_blank"}]; jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 81; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1275) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.waltonsba.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.waltonsba.co.uk\/about-us\/our-team\/","stats_nonce":"df46758355","share_counts":"988d1e2f42","follow_counts":"53e9d8ba7c","total_counts":"396885dbc9","media_single":"3135e06d53","media_total":"73ec6b00d9","generate_all_window_nonce":"70210e0810","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.waltonsba.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.waltonsba.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"263582924c","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"64af527b3b","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"24027","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1c1f3e","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
Emails: hello@waltonsba.co.uk
View text
About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Accounts and managed services Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax QuickBooks Xero FreeAgent Sage News & resources Waltons blog #TeamWaltons news Publications Business news Client login Contact 01429 234414 OneClick hello@waltonsba.co.uk About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Accounts and managed services Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax Cloud Accounting Solutions QuickBooks FreeAgent Xero Sage News & resources Waltons blog #TeamWaltons news Publications Business news Client login Contact us About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Accounts and managed services Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Tax investigation service Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax QuickBooks Xero Sage News & resources Waltons blog #TeamWaltons news Publications Calculators Business news Client login Contact Our core values Home | About us | Our core values Striving for excellence with respect for all Meet the team We’re constantly evolving. Our business landscape is a changing world, and we’re committed to playing our part in helping our clients and our team navigate their way through it. Our team, each with their own skills and experience, are passionate about what we do, and the contribution we are making. Our culture is important to us. Formed from a combination of information gathered across the firm, our core values help us articulate the attributes and behaviours we value in each other, and set expectations for how we conduct our daily activities. Service with a smile Striving for excellence Ferociously fair Passionate about process Optimistically future-focused Safe pair of hands Hopefully we’ve piqued your interest? Let's talk We’re a really friendly bunch and would love to hear from you. We won’t bog you down with technical jargon. We like to keep things simple and to the point. Get in touch to arrange a no obligation meeting and we can have a chat about your future needs. Let's talk Contact us 01429 234414 hello@waltonsba.co.uk Maritime House Harbour Walk The Marina Hartlepool TS24 0UX Official information Waltons Business Advisers is the trading name of Waltons Business Advisers Limited. Registered in England & Wales. Company Registration Number: 08931751 | VAT No: 546917804 Client login Terms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Facebook Twitter LinkedIn Youtube {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); var et_link_options_data = [{"class":"et_pb_blurb_0_tb_header","url":"https:\/\/waltonsba.accountantspace.co.uk\/html\/","target":"_blank"}]; jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 81; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1275) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.waltonsba.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.waltonsba.co.uk\/about-us\/our-core-values\/","stats_nonce":"df46758355","share_counts":"988d1e2f42","follow_counts":"53e9d8ba7c","total_counts":"396885dbc9","media_single":"3135e06d53","media_total":"73ec6b00d9","generate_all_window_nonce":"70210e0810","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.waltonsba.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.waltonsba.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"263582924c","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"64af527b3b","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"24025","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1c1f3e","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
Emails: hello@waltonsba.co.uk
View text
About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Accounts and managed services Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax QuickBooks Xero FreeAgent Sage News & resources Waltons blog #TeamWaltons news Publications Business news Client login Contact 01429 234414 OneClick hello@waltonsba.co.uk About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Accounts and managed services Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax Cloud Accounting Solutions QuickBooks FreeAgent Xero Sage News & resources Waltons blog #TeamWaltons news Publications Business news Client login Contact us About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Accounts and managed services Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Tax investigation service Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax QuickBooks Xero Sage News & resources Waltons blog #TeamWaltons news Publications Calculators Business news Client login Contact About us Home | About us #TeamWaltons We pride ourselves on our amazing team, and our values, steered under the watchful eye of our Managing Director, Paul Harrison. Our firm (originally W T Walton & Son) was established in 1885 and soon became one of the leading firms of Chartered Accountants in the North East. We’ve seen many changes over the years, but one thing that hasn’t changed is our commitment to our clients and our team. Our team Proud of our accreditations We’re proud of the firm’s memberships, accreditations and associations with The Institute of Chartered Accountants in England and Wales, The Chartered Institute of Tax Advisers, The Association of Tax Technicians and the Association of Accounting Technicians and the respective qualifications held by our team. Proud members of Accelerate A community of relationship-focused, technology-driven, value-based accounting firms. Accelerate is a Business Associate of Crowe Global, which means we have access to accounting firms in more than 130 countries throughout the world. Learn more about us  Our team Meet the experts  Testimonials Client feedback  Official information Read more  Vacancies Work with us  CSR Corporate social responsibility  Events Find out more Keeping you in the loop We want to support you through every channel, keeping you entertained and up to date with informative articles and blogs, written by industry professionals. All resources Hartlepool Business Awards 2025 Oct 23, 2025 | BlogLast week we attended the Hartlepool Business Awards and want to say a big thank you to Hartlepool Business Forum for organising another great event. It was lovely to celebrate the achievements of local businesses, and huge congratulations to all of the winners and... read more Audit Senior Oct 14, 2025 | VacanciesWe are looking for a qualified Chartered/Certified Accountant with audit experience, to join our growing Business Assurance Team. The position requires someone who is highly organised, customer focussed, technically astute and has strong IT skills that can be used to... read more Hopefully we’ve piqued your interest? Let's talk We’re a really friendly bunch and would love to hear from you. We won’t bog you down with technical jargon. We like to keep things simple and to the point. Get in touch to arrange a no obligation meeting and we can have a chat about your future needs. Let's talk Contact us 01429 234414 hello@waltonsba.co.uk Maritime House Harbour Walk The Marina Hartlepool TS24 0UX Official information Waltons Business Advisers is the trading name of Waltons Business Advisers Limited. Registered in England & Wales. Company Registration Number: 08931751 | VAT No: 546917804 Client login Terms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Facebook Twitter LinkedIn Youtube {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); var et_link_options_data = [{"class":"et_pb_blurb_0_tb_header","url":"https:\/\/waltonsba.accountantspace.co.uk\/html\/","target":"_blank"},{"class":"et_pb_column_7","url":"https:\/\/www.waltonsba.co.uk\/about-us\/our-team\/","target":"_self"},{"class":"et_pb_column_8","url":"https:\/\/www.waltonsba.co.uk\/about-us\/what-our-clients-say\/","target":"_self"},{"class":"et_pb_column_9","url":"https:\/\/www.waltonsba.co.uk\/about-us\/official-information\/","target":"_self"},{"class":"et_pb_column_10","url":"https:\/\/www.waltonsba.co.uk\/about-us\/vacancies\/","target":"_self"},{"class":"et_pb_column_11","url":"https:\/\/www.waltonsba.co.uk\/about-us\/corporate-social-responsibility\/","target":"_self"},{"class":"et_pb_column_12","url":"https:\/\/www.waltonsba.co.uk\/about-us\/events\/","target":"_self"}]; jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 81; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1275) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.waltonsba.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.waltonsba.co.uk\/about-us\/","stats_nonce":"df46758355","share_counts":"988d1e2f42","follow_counts":"53e9d8ba7c","total_counts":"396885dbc9","media_single":"3135e06d53","media_total":"73ec6b00d9","generate_all_window_nonce":"70210e0810","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.waltonsba.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.waltonsba.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"263582924c","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"64af527b3b","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"504","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1c1f3e","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var mejsL10n = {"language":"en","strings":{"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https:\/\/get.adobe.com\/flashplayer\/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left\/Right Arrow keys to advance one second, Up\/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up\/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions\/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}}; /* ]]> */ /* <![CDATA[ */ var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/","classPrefix":"mejs-","stretching":"responsive","audioShortcodeLibrary":"mediaelement","videoShortcodeLibrary":"mediaelement"}; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)
Emails: hello@waltonsba.co.uk
View text
About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Accounts and managed services Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax QuickBooks Xero FreeAgent Sage News & resources Waltons blog #TeamWaltons news Publications Business news Client login Contact 01429 234414 OneClick hello@waltonsba.co.uk About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Accounts and managed services Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax Cloud Accounting Solutions QuickBooks FreeAgent Xero Sage News & resources Waltons blog #TeamWaltons news Publications Business news Client login Contact us About us Our core values Our team What our clients say Official information Vacancies Corporate social responsibility Events Services Business services Audit and assurance Business planning & advisory Business startup Company secretarial services Raising finance & grants Corporate tax planning Research & development (R&D) relief Payroll Accounts and managed services Personal services Estate planning Personal tax planning Retirement & succession planning Self assessment Trusts & executorships International tax Tax investigation service Sectors Property & construction Schools & academies Charities & other community organisations Pension schemes Professional practices Agriculture Manufacturing & engineering Leisure & hospitality Family businesses Owner-manager businesses MTD MTD for VAT MTD for ITSA MTD for Corporation Tax QuickBooks Xero Sage News & resources Waltons blog #TeamWaltons news Publications Calculators Business news Client login Contact Building value,together since 1885 Business Advisers & Chartered Accountants based on The Marina in Hartlepool How we can help you We always strive for better We’re always improving our service, always learning, constantly keeping up to date with the ever-changing business landscape, and smiling as we do it!  Always looking to improve  Providing a safe pair of hands w Sector specific, specialist advice  Delivering real growth and success Our history What makes us different We’re able to do things others don’t through our specialist consultancy services. We’re totally open and honest, and along with keeping things fun and friendly, we’re committed to doing things a bit differently.  Business services Bringing value to your business by getting to know you. Read more >  Specialist services Sector-specific support and planning for the modern world. Read more >  Personal services More than just the “normal”. Specialist advice, made simple and to the point. . Read more > “Waltons have been our auditors and advisers for many years. We have always had great confidence in their sound, professional advice, and proud of the relationship we have built over the years.” Chris Gilbertson | Director | J T Atkinson & Sons Limited Find out what our clients say about us. Client feedback We care about you and your business Yes it sounds cliché, but we really do. We’ve been around a long time. It’s about building a relationship that gives us a great insight into what you, as a business owner or individual, want from us as your accountant and adviser. We'll help you to achieve your goals. Who we help Keeping you in the loop We want to support you through every channel, keeping you entertained and up to date with informative articles and blogs, written by industry professionals. All resources Hartlepool Business Awards 2025 Oct 23, 2025 | BlogLast week we attended the Hartlepool Business Awards and want to say a big thank you to Hartlepool Business Forum for organising another great event. It was lovely to celebrate the achievements of local businesses, and huge congratulations to all of the winners and... read more Celebrating 10 Years with #TeamWaltons Oct 14, 2025 | Blog, Team newsCelebrating 🔟Years with #TeamWaltons Congratulations to Kate Wells who is celebrating her 10th Year as part of #TeamWaltons. Kate started her career with our Payroll Team after leaving school, following in the footsteps of her grandmother Kath, who prior to... read more Hopefully we’ve piqued your interest? Let's talk We’re a really friendly bunch and would love to hear from you. We won’t bog you down with technical jargon. We like to keep things simple and to the point. Get in touch to arrange a no obligation meeting and we can have a chat about your future needs. Let's talk Contact us 01429 234414 hello@waltonsba.co.uk Maritime House Harbour Walk The Marina Hartlepool TS24 0UX Official information Waltons Business Advisers is the trading name of Waltons Business Advisers Limited. Registered in England & Wales. Company Registration Number: 08931751 | VAT No: 546917804 Client login Terms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Facebook Twitter LinkedIn Youtube {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/sift\/*","\/wp-content\/themes\/Divi\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} jQuery(document).ready(function($) { if($('.menu-item-has-children').find('a') ) { $('.menu-item-has-children').find('a').addClass('da11y-submenu'); $('.menu-item-has-children').find('a').not('.sub-menu a').attr('aria-expanded', 'false'); } $('.da11y-submenu').on('focus', function() { $(this).not('.sub-menu a').attr('aria-expanded', 'true'); $(this).siblings('.sub-menu').addClass('da11y-submenu-show'); $(this).trigger('mouseenter'); }); $('.menu-item-has-children a').on('focusout', function() { if($(this).parent().not('.menu-item-has-children').is(':last-child')) { $(this).parents('.menu-item-has-children').children('.da11y-submenu').attr('aria-expanded', 'false').trigger('mouseleave').siblings('.sub-menu').removeClass('da11y-submenu-show'); } }); /** * Generate search form styles. * * @since Divi v3.0.23 */ function et_set_search_form_css() { const search_container = $('.et_search_form_container'); const body = $('body'); if (search_container.hasClass('et_pb_search_visible')) { const header_height = $('#main-header').innerHeight(); const menu_width = $('#top-menu').width(); const font_size = $('#top-menu li a').css('font-size'); search_container.css({ height: header_height + 'px' }); search_container.find('input').css('font-size', font_size); if (!body.hasClass('et_header_style_left')) { search_container.css('max-width', menu_width + 60); } else { search_container.find('form').css('max-width', menu_width + 60); } } } /** * Show the search. * * @since Divi v3.0.23 */ function show_search() { const search_container = $('.et_search_form_container'); if (search_container.hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_visible et_pb_no_animation').addClass('et_pb_menu_hidden'); search_container.removeClass('et_pb_search_form_hidden et_pb_no_animation').addClass('et_pb_search_visible et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); search_container.addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); search_container.find('input').focus(); et_set_search_form_css(); } /** * Hide the search. * * @since Divi v3.0.23 */ function hide_search() { if ($('.et_search_form_container').hasClass('et_pb_is_animating')) { return; } $('.et_menu_container').removeClass('et_pb_menu_hidden et_pb_no_animation').addClass('et_pb_menu_visible'); $('.et_search_form_container').removeClass('et_pb_search_visible et_pb_no_animation').addClass('et_pb_search_form_hidden et_pb_is_animating'); setTimeout(function () { $('.et_menu_container').addClass('et_pb_no_animation'); $('.et_search_form_container').addClass('et_pb_no_animation').removeClass('et_pb_is_animating'); }, 1000); } $(this).keyup(function () { $('.et-search-field').focus(function () { show_search(); }).blur(function () { hide_search(); }); }); }); jQuery(document).ready(function($) { /** * Add skiplink to page. */ function skipTo(target) { const skiplink = '<a href="' + target + '" class="skip-link da11y-screen-reader-text">Skip to content</a>'; $(target).attr('tabindex', -1); $('body').prepend(skiplink); } skipTo('#main-content'); /** * Use js to focus for internal links. */ $('a[href^="#"]').click(function () { const content = $('#' + $(this).attr('href').slice(1)); content.focus(); }); }); jQuery(document).ready(function($) { let lastKey = new Date(); let lastClick = new Date(); /** * Only apply focus styles for keyboard usage. */ $(this).on('focusin', function (e) { $('.keyboard-outline').removeClass('keyboard-outline'); const wasByKeyboard = lastClick < lastKey; if (wasByKeyboard) { $(e.target).addClass('keyboard-outline'); } }); $(this).on('mousedown', function () { lastClick = new Date(); }); $(this).on('keydown', function () { lastKey = new Date(); }); }); jQuery(document).ready(function($) { /** * Allow Accordion & Toggle Divi modules to be focusable. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').each(function () { $(this).attr('tabindex', 0); }); /** * Prevent spacebar from scolling page when toggle & accordion have focus. * * @divi-module Accordion, Toggle */ $('.et_pb_toggle').on('keydown', function(e) { // Spacebar. if (e.which === 32){ e.preventDefault(); } }); /** * Expand Accordion & Toggle modules when enter or spacebar are pressed while focused. * * @divi-module Accordion, Toggle */ $(document).on('keyup', function(e) { // Spacebar & Enter. if (e.which === 13 || e.which === 32) { $('.et_pb_toggle:focus .et_pb_toggle_title').trigger('click'); } }); }); jQuery(document).ready(function($) { /** * Add unique ID to search module input with matching label. * * @divi-module Search */ $('.et-search-field').each(function (e) { $(this).attr('id', 'et_pb_search_module_input_' + e); $('#et_pb_search_module_input_' + e).before('<label class="da11y-screen-reader-text" for="et_pb_search_module_input_' + e + '">Search for...</label>'); $('#et_pb_search_module_input_' + e).after('<button type="submit" class="da11y-screen-reader-text">Search</button>'); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $('.et_pb_contact_form').each(function (e) { $(this).find('.et_pb_contact_captcha_question').parent().wrap('<label></label>'); }); /** * Correct labels on social media icons */ $('.et-social-facebook a.icon span').text('Facebook'); $('.et-social-twitter a.icon span').text('Twitter'); $('.et-social-google-plus a.icon span').text('Google Plus'); $('.et-social-pinterest a.icon span').text('Pinterest'); $('.et-social-linkedin a.icon span').text('LinkedIn'); $('.et-social-tumblr a.icon span').text('Tumblr'); $('.et-social-instagram a.icon span').text('Instagram'); $('.et-social-skype a.icon span').text('Skype'); $('.et-social-flikr a.icon span').text('Flickr'); $('.et-social-myspace a.icon span').text('Myspace'); $('.et-social-dribbble a.icon span').text('Dribble'); $('.et-social-youtube a.icon span').text('YouTube'); $('.et-social-vimeo a.icon span').text('Vimeo'); $('.et-social-rss a.icon span').text('RSS'); }); jQuery(document).ready(function($) { /** * Add role="tabList". * * @divi-module Tab */ $('.et_pb_tabs_controls').each(function () { $(this).attr('role', 'tabList'); }); /** * Add role="presentation". * * @divi-module Tab */ $('.et_pb_tabs_controls li').each(function () { $(this).attr('role', 'presentation'); }); /** * Add role="tab". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function () { $(this).attr('role', 'tab'); }); /** * Add role="tabpanel". * * @divi-module Tab */ $('.et_pb_tab').each(function () { $(this).attr('role', 'tabpanel'); }); /** * Add initial state: * * aria-selected="false" * aria-expanded="false" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li:not(.et_pb_tab_active) a').each(function () { $(this).attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); }); /** * Add initial state: * * aria-selected="true" * aria-expanded="true" * tabindex=-1 * * @divi-module Tab */ $('.et_pb_tabs_controls li.et_pb_tab_active a').each(function () { $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); }); /** * Add unique ID to tab controls. * Add aria-controls="x". * * @divi-module Tab */ $('.et_pb_tabs_controls a').each(function (e) { $(this).attr({ id: 'et_pb_tab_control_' + e, 'aria-controls': 'et_pb_tab_panel_' + e }); }); /** * Add unique ID to tab panels. * Add aria-labelledby="x". * * @divi-module Tab */ $('.et_pb_tab').each(function (e) { $(this).attr({ id: 'et_pb_tab_panel_' + e, 'aria-labelledby': 'et_pb_tab_control_' + e }); }); /** * Set initial inactive tab panels to aria-hidden="false". * * @divi-module Tab */ $('.et_pb_tab.et_pb_active_content').each(function () { $(this).attr('aria-hidden', 'false'); }); /** * Set initial inactive tab panels to aria-hidden="true". * * @divi-module Tab */ $('.et_pb_tab:not(.et_pb_active_content)').each(function () { $(this).attr('aria-hidden', 'true'); }); /** * Add unique ID to tab module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Tab */ $('.et_pb_tabs').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_tab_module_' + e); }); /** * Update aria-selected attribute when tab is clicked or when hitting enter while focused. * * @divi-module Tab */ $('.et_pb_tabs_controls a').on('click', function () { const id = $(this).attr('id'); const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); // Used as a selector to scope changes to current module. // Reset all tab controls to be aria-selected="false" & aria-expanded="false". $('[data-da11y-id="' + namespace + '"] .et_pb_tabs_controls a').attr({ 'aria-selected': 'false', 'aria-expanded': 'false', tabindex: -1 }); // Make active tab control aria-selected="true" & aria-expanded="true". $(this).attr({ 'aria-selected': 'true', 'aria-expanded': 'true', tabindex: 0 }); // Reset all tabs to be aria-hidden="true". $('#' + namespace + ' .et_pb_tab').attr('aria-hidden', 'true'); // Label active tab panel as aria-hidden="false". $('[aria-labelledby="' + id + '"]').attr('aria-hidden', 'false'); }); // Arrow navigation for tab modules $('.et_pb_tabs_controls a').keyup(function (e) { const namespace = $(this).closest('.et_pb_tabs').attr('data-da11y-id'); const module = $('[data-da11y-id="' + namespace + '"]'); if (e.which === 39) { // Right. const next = module.find('li.et_pb_tab_active').next(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:first a').trigger('click'); } } else if (e.which === 37) { // Left. const next = module.find('li.et_pb_tab_active').prev(); if (next.length > 0) { next.find('a').trigger('click'); } else { module.find('li:last a').trigger('click'); } } $('.et_pb_tabs_controls a').removeClass('keyboard-outline'); module.find('li.et_pb_tab_active a').addClass('keyboard-outline'); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $('.et_pb_search').each(function (e) { $(this).attr('data-da11y-id', 'et_pb_search_module_' + e); }); /** * Add aria-required="true" to inputs. * * @divi-module Contact Form */ $('[data-required_mark="required"]').each(function () { $(this).attr('aria-required', 'true'); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $('.et_pb_contactform_validate_field').attr('type', 'hidden'); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $('.et-pb-contact-message').attr('role', 'alert'); /** * Add main role to main-content */ $('#main-content').attr('role', 'main'); /** * Add aria-label="x". * * @divi-module Fullwidth header, comment-wrap */ $('.et_pb_fullwidth_header').each(function (e) { $(this).attr('aria-label', 'Wide Header' + e); }); $('#comment-wrap').attr('aria-label', 'Comments'); }); jQuery(document).ready(function($) { /** * Add aria-hidden="true" to all icons */ $('#et_top_search, .et_close_search_field, .et_pb_main_blurb_image').attr('aria-hidden', 'true'); }); jQuery(document).ready(function($) { /** * Mobile menu Aria support. */ $('.mobile_menu_bar_toggle').attr({'role': 'button', 'aria-expanded': 'false', 'tabindex': 0}); $('.mobile_menu_bar_toggle').on('click', function() { if($(this).hasClass('a11y-mobile-menu-open') ) { $(this).removeClass('a11y-mobile-menu-open').attr('aria-expanded', 'false'); } else { $(this).addClass('a11y-mobile-menu-open').attr('aria-expanded', 'true'); } }); }); jQuery(function($){$(".divi-mobile-stop-stacking").each(function(){$(this).parents(".et_pb_row").addClass("divi-mobile-stop-stacking-row")})}); var et_link_options_data = [{"class":"et_pb_blurb_0_tb_header","url":"https:\/\/waltonsba.accountantspace.co.uk\/html\/","target":"_blank"},{"class":"et_pb_column_6","url":"https:\/\/www.waltonsba.co.uk\/services\/business-services\/","target":"_self"},{"class":"et_pb_column_7","url":"https:\/\/www.waltonsba.co.uk\/sectors\/","target":"_self"},{"class":"et_pb_column_8","url":"https:\/\/www.waltonsba.co.uk\/services\/personal-services\/","target":"_self"}]; jQuery(document).ready(function( $ ) { if ( $('#main-header').length > 0 && $('.et-l--header').length == 0 ) { } else if ( $('.et-l--header').length > 0 && $('#main-header').length == 0 ) { } else { $('.divi-mobile-menu').remove(); $('body').addClass("no-mobile-menu"); } // if .dm-above-layout is on the page, get the height of this element // add it as margin-top to #open-button var dm_above_layout = $(".dm-above-layout"); if (dm_above_layout.length > 0) { var dm_above_layout_height = dm_above_layout.outerHeight(); $("#open-button").css("margin-top", dm_above_layout_height); // add padding to the top of #main-content $("#main-content").css("padding-top", dm_above_layout_height); } $("body").addClass("dm-custom-header"); function check_from_top(){ var scroll = $(window).scrollTop(); if (scroll >= 300) { $("#dm-header").addClass("fixed-header"); $("body").addClass("dm-fixed-header"); } else { $("#dm-header").removeClass("fixed-header"); $("body").removeClass("dm-fixed-header"); } if (scroll >= 50) { $(".dm-not-fixed-scroll #dm-header #et_top_search_mob").removeClass("active"); $("body.dm-not-fixed-scroll").removeClass("search-active"); } } check_from_top(); $(window).scroll(function() { check_from_top(); }); $("body").addClass("dm-bm-pos-right"); $("body").addClass("dm-expand-shape"); $("body").addClass("dm-divi-engine"); $("body").addClass("dm-circle-expand"); $("body").addClass("dm-menuside-right"); var get_one_click = false; jQuery(document).on('touchstart click', ".anchorpoint", function(e){ var _this = jQuery(e.target); if (jQuery("body").hasClass("show-menu")) { jQuery('#open-button').trigger('click'); } var getLink = _this.find('a').attr('href'); var currentUrl = window.location.href; var linkUrlPart = ''; var linkAnchorPart = ''; var currentUrlPart = currentUrl; e.preventDefault(); if(currentUrl.indexOf("#") != -1){ currentUrlPart = getLink.substring(0, getLink.indexOf("#") ); } if(getLink.indexOf("#") == 0){ linkUrlPart = currentUrlPart; linkAnchorPart = getLink.substring(1); }else if (getLink.indexOf("#") != -1 ){ linkUrlPart = getLink.substring(0, getLink.indexOf("#") ); linkAnchorPart = getLink.substring(getLink.indexOf("#")+1); } if ( linkUrlPart == currentUrlPart ){ // Same Url if (jQuery('#' + linkAnchorPart).length) { if ( linkAnchorPart != '' ){ var target_offset = jQuery('#' + linkAnchorPart).offset(); var top = target_offset.top; var header_fixed = "notfixed"; if ( header_fixed == 'fixed' ) { var header_height_scroll = 80; var header_height = 81; var scroll_distance = 300; if ( target_offset.top < scroll_distance ) { if ( target_offset.top < header_height ) { top = 0; } else { top = top - header_height; } } else { top = top - header_height_scroll; } } window.scrollTo({top: top, behavior: "smooth"}); //document.getElementById(linkAnchorPart).scrollIntoView({ behavior: "smooth" }); } } else { window.location.href = getLink; } } else { window.location.href = getLink; } }); }); // check if menu-wrap__inner exists (function () { const menuWrapInner = document.getElementsByClassName("menu-wrap__inner")[0]; if (menuWrapInner && menuWrapInner.children.length > 0) { menuWrapInner.children[0].onscroll = function () { if (this.scrollTop >= 80) { jQuery('body').addClass('menu-wrap-scroll'); } else { jQuery('body').removeClass('menu-wrap-scroll'); } } } })(); jQuery(document).ready(function($){ var isOpen = false; var bodyEl = document.body; $(document).on('click', '#open-button', function(ev){ toggleMenu(ev); }); $(document).on('click', '#close-button', function(ev){ toggleMenu(ev); }) // close the menu element if the target it´s not the menu element or one of its descendants.. $(document).on( 'click', '#et-main-area', function(ev) { var target = $(ev.target); if( isOpen && target !== $('#open-button') ) { toggleMenu(ev); } } ); function toggleMenu(event) { event.stopPropagation(); event.preventDefault(); if( isOpen ) { $(bodyEl).removeClass( 'show-menu' ); $('#open-button').removeClass( 'is-active' ); $( '#dm_nav' ).removeClass( 'active' ); $('#dm-menu').find('.menu-item-has-children').each(function() { $(this).removeClass('visible'); }); setTimeout(function (){ $('#dm_nav').addClass( 'menuclosed' ); }, 800); }else { $(bodyEl).addClass( 'show-menu' ); $('#open-button').addClass( 'is-active' ); $( '#dm_nav' ).addClass( 'active' ); $( '#dm_nav' ).removeClass( 'menuclosed' ); } isOpen = !isOpen; } }); jQuery(document).ready(function( $ ) { $("body").addClass("dm-ch-logo-pos-left"); $("body").addClass("dm-ch-cart-icon-pos-none"); $("body").addClass("dm-ch-search-icon-pos-right"); $("body").addClass("dm-ch-account-icon-pos-none"); $("body").addClass("dm-search-icon-header"); $("#dm-header #et_top_search_mob #et_search_icon").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").addClass("active"); setTimeout( function() { $("body").addClass("search-active"); }, 500); }); $(document).on('touchstart click', ".search-active #et_top_search_mob #et_search_icon" , function(event){ console.log("added"); $( ".et-search-form" ).submit(); }); $("#dm-header #et_top_search_mob .close").on('touchstart click', function(event) { $("#dm-header #et_top_search_mob").removeClass("active"); $("body").removeClass("search-active"); }); $("body").addClass("dm-not-fixed-scroll"); }); jQuery(document).ready(function($){ $("body").addClass("bc-expand-circle"); var overlayNav = $('.cd-overlay-nav'), overlayContent = $('.cd-overlay-content'), navigation = $('#dm_nav .menu-wrap__inner'), toggleNav = $('#open-button'), burger_bg = $('.menu-wrap'); // Initialize navigation and content layers layerInit(); // Commented this out as when resizing, the animation to open the menu woudld be delayed sometimes even up to 5s - SUP-7777 // $(window).on('resize', function(){ // window.requestAnimationFrame(layerInit); // }); // Open/close the menu and cover layers toggleNav.on('click', function(event) { if (!burger_bg.hasClass('close-nav')) { // It means navigation is not visible yet - open it and animate navigation layer burger_bg.addClass('close-nav'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 500, 'easeInCubic', function(){ navigation.addClass('fade-in'); }); } else { // Navigation is open - close it and remove navigation layer burger_bg.removeClass('close-nav'); overlayContent.children('span').velocity({ translateZ: 0, scaleX: 1, scaleY: 1, }, 0, 'easeInCubic', function(){ navigation.removeClass('fade-in'); overlayNav.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500); overlayContent.addClass('is-hidden').one('webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend', function(){ overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); }); if ($('html').hasClass('no-csstransitions')) { overlayContent.children('span').velocity({ translateZ: 0, scaleX: 0, scaleY: 0, }, 500, function(){overlayContent.removeClass('is-hidden')}); } }); } }); function layerInit(){ var diameterValue = (Math.sqrt( Math.pow($(window).height(), 2) + Math.pow($(window).width(), 2))*2); overlayNav.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); overlayContent.children('span').velocity({ scaleX: 0, scaleY: 0, translateZ: 0, }, 50).velocity({ height : diameterValue+'px', width : diameterValue+'px', top : -(diameterValue/2)+'px', left : -(diameterValue/2)+'px', }, 0); } }); jQuery(document).ready(function( $ ) { $("body").addClass("collapse-submenu"); function dm_setup_collapsible_submenus() { var $menu = $('#dm_nav'), top_level_link = '.menu-wrap__inner .menu-item-has-children > a'; $menu.find('a').each(function() { $(this).closest('.menu-item-has-children a').append('<span class="clickthrough"></span>'); var click_through = $(".clickthrough"); if ( $(this).closest('.menu-item').length > 0 && !$(this).siblings('.sub-menu').length ) { $(this).off('touchstart click').on('touchstart click', function(event) { // $("#dm-menu.nav li").removeClass('visible'); $(this).parents('.mobile_nav').trigger('click'); }); } else { } }); } setTimeout(function() { dm_setup_collapsible_submenus(); }, 1200); var click_through = '.clickthrough'; if ($(window).width() < 1275) { var touchmoved; $('.menu-item-has-children').on('touchend click', click_through, function(e) { if(touchmoved != true){ e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); } }).on('touchmove', click_through, function(e) { touchmoved = true; }).on('touchstart', click_through, function(e) { touchmoved = false; }); } else { $('body').on('touchstart click', click_through, function(e) { e.preventDefault(); e.stopPropagation(); $(this).closest('.menu-item').siblings().removeClass('visible'); $(this).closest('.menu-item').toggleClass('visible'); setTimeout(function() { jQuery('.menu-item').removeClass('et-hover'); jQuery('.menu-item').removeClass('et-touch-hover'); }, 800); }); } $("#dm_nav .menu-item").on("touchstart", 'a',function(e) { touchmoved = false; //var addressValue = $(this).attr("href"); //window.location.href = addressValue; }).on("touchmove", 'a', function(e){ touchmoved = true; }).on("touchend click", 'a', function(e){ if ( touchmoved != true ){ e.preventDefault(); e.stopPropagation(); var addressValue = $(this).attr("href"); var addresstarget = $(this).attr('target'); if (addresstarget == "_blank") { window.open(addressValue, '_blank'); } else { window.location.href = addressValue; } } }); }); /* <![CDATA[ */ jQuery(".divi-mobile-stop-stacking").closest(".et_pb_row").addClass("divi-mobile-stop-stacking-row"); /* ]]> */ /* <![CDATA[ */ var monarchSettings = {"ajaxurl":"https:\/\/www.waltonsba.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.waltonsba.co.uk\/","stats_nonce":"df46758355","share_counts":"988d1e2f42","follow_counts":"53e9d8ba7c","total_counts":"396885dbc9","media_single":"3135e06d53","media_total":"73ec6b00d9","generate_all_window_nonce":"70210e0810","no_img_message":"No images available for sharing on this page"}; /* ]]> */ /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/www.waltonsba.co.uk","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ /* <![CDATA[ */ var DIVI = {"item_count":"%d Item","items_count":"%d Items"}; var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"}; var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"}; var et_pb_custom = {"ajaxurl":"https:\/\/www.waltonsba.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"263582924c","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"64af527b3b","fill_message":"Please, fill in the following fields:","contact_error_message":"Please, fix the following errors:","invalid":"Invalid email","captcha":"Captcha","prev":"Prev","previous":"Previous","next":"Next","wrong_captcha":"You entered the wrong number in captcha.","wrong_checkbox":"Checkbox","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"409","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.waltonsba.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1c1f3e","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var mejsL10n = {"language":"en","strings":{"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https:\/\/get.adobe.com\/flashplayer\/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left\/Right Arrow keys to advance one second, Up\/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up\/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions\/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}}; /* ]]> */ /* <![CDATA[ */ var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/","classPrefix":"mejs-","stretching":"responsive","audioShortcodeLibrary":"mediaelement","videoShortcodeLibrary":"mediaelement"}; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)