Lead #1668
Best Contact
—
Email
()
Override
Captured Pages
https://forthetrade.co.uk/contact/consett
Status: 200
Emails: accountants@forthetrade.co.uk
View text
Home About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Payroll Raising finance Management accounts Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Contact Durham office Consett office Client login Client login Call us: 0191 308 5500 Search for: About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office Client login About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office 0191 308 5500 Consett office Home » Contact » Consett office CHECK OUT THE CONSETT OFFICE Come say hello to us in our Consett office. We’ve been working in this area for a while now, so if you haven’t already, we’d love to see you in the flesh. It’s always great to put a face to the name. Call 0191 308 5500 Whatsapp 0191 308 5500 Email Accountants@ ForTheTrade.co.uk Opening hours Mon – 9am – 5:00pmTue – 9am – 5:00pmWed – 9am – 5:00pmThur – 9am – 5:00pmFri – 9am – 5:00pmSat – Appointment only Notice: JavaScript is required for this content. var formDisplay=1;var nfForms=nfForms||[];var form=[];form.id='1';form.settings={"objectType":"Form Setting","editActive":true,"title":"Contact Form - Consett","key":"","created_at":"2019-02-05 10:57:14","default_label_pos":"above","conditions":[],"show_title":0,"clear_complete":"1","hide_complete":"1","wrapper_class":"","element_class":"","add_submit":"1","logged_in":"","not_logged_in_msg":"","sub_limit_number":"","sub_limit_msg":"","calculations":[],"formContentData":[{"formContentData":[{"order":1,"cells":[{"order":0,"fields":["first_name_1615802028192"],"width":50},{"order":1,"fields":["last_name_1615802032447"],"width":50}]},{"order":2,"cells":[{"order":0,"fields":["phone_1639090206574"],"width":"100"}]},{"order":3,"cells":[{"order":0,"fields":["email"],"width":"100"}]},{"order":4,"cells":[{"order":0,"fields":["message"],"width":"100"}]},{"order":5,"cells":[{"order":0,"fields":["tick_the_box_below_to_confirm_you_re_a_not_a_robot_1632221859779"],"width":"100"}]},{"order":6,"cells":[{"order":0,"fields":["submit"],"width":"100"}]}],"order":0,"type":"part","clean":true,"title":"Part Title","key":"ynihzog"}],"container_styles_background-color":"","container_styles_border":"","container_styles_border-style":"","container_styles_border-color":"","container_styles_color":"","container_styles_height":"","container_styles_width":"","container_styles_font-size":"","container_styles_margin":"","container_styles_padding":"","container_styles_display":"","container_styles_float":"","container_styles_show_advanced_css":"0","container_styles_advanced":"","title_styles_background-color":"","title_styles_border":"","title_styles_border-style":"","title_styles_border-color":"","title_styles_color":"","title_styles_height":"","title_styles_width":"","title_styles_font-size":"","title_styles_margin":"","title_styles_padding":"","title_styles_display":"","title_styles_float":"","title_styles_show_advanced_css":"0","title_styles_advanced":"","row_styles_background-color":"","row_styles_border":"","row_styles_border-style":"","row_styles_border-color":"","row_styles_color":"","row_styles_height":"","row_styles_width":"","row_styles_font-size":"","row_styles_margin":"","row_styles_padding":"","row_styles_display":"","row_styles_show_advanced_css":"0","row_styles_advanced":"","row-odd_styles_background-color":"","row-odd_styles_border":"","row-odd_styles_border-style":"","row-odd_styles_border-color":"","row-odd_styles_color":"","row-odd_styles_height":"","row-odd_styles_width":"","row-odd_styles_font-size":"","row-odd_styles_margin":"","row-odd_styles_padding":"","row-odd_styles_display":"","row-odd_styles_show_advanced_css":"0","row-odd_styles_advanced":"","success-msg_styles_background-color":"","success-msg_styles_border":"","success-msg_styles_border-style":"","success-msg_styles_border-color":"","success-msg_styles_color":"","success-msg_styles_height":"","success-msg_styles_width":"","success-msg_styles_font-size":"","success-msg_styles_margin":"","success-msg_styles_padding":"","success-msg_styles_display":"","success-msg_styles_show_advanced_css":"0","success-msg_styles_advanced":"","error_msg_styles_background-color":"","error_msg_styles_border":"","error_msg_styles_border-style":"","error_msg_styles_border-color":"","error_msg_styles_color":"","error_msg_styles_height":"","error_msg_styles_width":"","error_msg_styles_font-size":"","error_msg_styles_margin":"","error_msg_styles_padding":"","error_msg_styles_display":"","error_msg_styles_show_advanced_css":"0","error_msg_styles_advanced":"","allow_public_link":0,"embed_form":"","currency":"","unique_field_error":"A form with this value has already been submitted.","save_progress_allow_multiple":false,"save_progress_table_legend":"Load saved progress","save_progress_table_columns":[{"errors":[],"max_options":0,"label":"Column Title","field":"{field}","order":0,"settingModel":{"settings":false,"hide_merge_tags":false,"error":false,"name":"save_progress_table_columns","type":"option-repeater","label":"Save Table Columns <a href=\"#\" class=\"nf-add-new\">Add New<\/a>","width":"full","group":"primary","columns":{"field":{"header":"Field Key","default":""}},"value":[{"label":"Column Title","field":"{field}","order":0}],"tmpl_row":"tmpl-nf-save-progress-table-columns-repeater-row"}}],"mp_breadcrumb":1,"mp_progress_bar":1,"mp_display_titles":0,"breadcrumb_container_styles_show_advanced_css":0,"breadcrumb_buttons_styles_show_advanced_css":0,"breadcrumb_button_hover_styles_show_advanced_css":0,"breadcrumb_active_button_styles_show_advanced_css":0,"progress_bar_container_styles_show_advanced_css":0,"progress_bar_fill_styles_show_advanced_css":0,"part_titles_styles_show_advanced_css":0,"navigation_container_styles_show_advanced_css":0,"previous_button_styles_show_advanced_css":0,"next_button_styles_show_advanced_css":0,"navigation_hover_styles_show_advanced_css":0,"repeatable_fieldsets":"","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","formErrorsCorrectErrors":"Please correct errors before submitting this form.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fieldsMarkedRequired":" ","drawerDisabled":false,"ninjaForms":"Ninja Forms","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formHoneypot":"If you are a human seeing this field, please leave it empty.","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form.","currency_symbol":"","beforeForm":"","beforeFields":"","afterFields":"","afterForm":""};form.fields=[{"objectType":"Field","objectDomain":"fields","editActive":false,"order":1,"idAttribute":"id","label":"First name","key":"first_name_1615802028192","type":"textbox","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","mask":"","custom_mask":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4683","custom_name_attribute":"","personally_identifiable":"","value":"","drawerDisabled":false,"id":1,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":2,"idAttribute":"id","type":"lastname","label":"Last name","key":"last_name_1615802032447","label_pos":"above","required":1,"default":"","placeholder":"","container_class":"","element_class":"","admin_label":"","help_text":"","custom_name_attribute":"lname","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4686","value":"","drawerDisabled":false,"id":11,"beforeField":"","afterField":"","parentType":"lastname","element_templates":["lastname","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":3,"idAttribute":"id","type":"phone","label":"Phone","key":"phone_1639090206574","label_pos":"above","required":1,"default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":false,"admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"phone","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4689","value":"","drawerDisabled":false,"id":73,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["tel","textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":4,"idAttribute":"id","label":"Email","key":"email","type":"email","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","admin_label":"","help_text":"","desc_text":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4692","custom_name_attribute":"email","personally_identifiable":1,"value":"","id":2,"beforeField":"","afterField":"","parentType":"email","element_templates":["email","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":5,"idAttribute":"id","label":"Message","key":"message","type":"textarea","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","textarea_rte":"","disable_rte_mobile":"","textarea_media":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4695","value":"","id":3,"beforeField":"","afterField":"","parentType":"textarea","element_templates":["textarea","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":6,"idAttribute":"id","label":"Tick the box below to confirm you're a not a robot","type":"recaptcha","container_class":"","element_class":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"size":"visible","key":"tick_the_box_below_to_confirm_you_re_a_not_a_robot_1632221859779","cellcid":"c4698","drawerDisabled":false,"id":37,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["recaptcha","input"],"old_classname":"","wrap_template":"wrap","site_key":"6Ldq_N0UAAAAALjXvXS9nSe5R80_xTzTVGZ4JZrM","theme":"light","lang":"en-GB"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":7,"idAttribute":"id","label":"Submit","key":"submit","type":"submit","created_at":"2019-02-05 10:57:14","processing_label":"Processing","container_class":"","element_class":"","wrap_styles_background-color":"","wrap_styles_border":"0px","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"#f48717","element_styles_border":"0px","element_styles_border-style":"","element_styles_border-color":"#ffffff","element_styles_color":"#000000","element_styles_height":"","element_styles_width":"","element_styles_font-size":"18px","element_styles_margin":"","element_styles_padding":"13px 30px","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","submit_element_hover_styles_background-color":"","submit_element_hover_styles_border":"","submit_element_hover_styles_border-style":"","submit_element_hover_styles_border-color":"","submit_element_hover_styles_color":"","submit_element_hover_styles_height":"","submit_element_hover_styles_width":"","submit_element_hover_styles_font-size":"","submit_element_hover_styles_margin":"","submit_element_hover_styles_padding":"","submit_element_hover_styles_display":"","submit_element_hover_styles_float":"","submit_element_hover_styles_show_advanced_css":0,"submit_element_hover_styles_advanced":"","cellcid":"c4701","drawerDisabled":false,"id":4,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["submit","button","input"],"old_classname":"","wrap_template":"wrap-no-label"}];nfForms.push(form); <div class="nf-mp-header"></div> <div class="nf-mp-body"></div> <div class="nf-mp-footer"></div> {{{ data.renderProgressBar() }}} {{{ data.renderBreadcrumbs() }}} {{{ data.renderPartTitle() }}} <h3> {{{ data.title }}} </h3> {{{ data.renderNextPrevious() }}} <ul class="nf-next-previous"> <# if ( data.showPrevious ) { #> <li class="nf-previous-item"> <input type="button" class="nf-previous" value="{{{ data.prevLabel }}}" /> </li> <# } #> <# if ( data.showNext ) { #> <li class="nf-next-item"> <input type="button" class="nf-next" value="{{{ data.nextLabel }}}" /> </li> <# } #> </ul> <ul class="nf-breadcrumbs"> <# _.each( data.parts, function( part, index ) { #> <li class="{{{ ( data.currentIndex == index ) ? 'active' : '' }}} {{{ ( part.errors ) ? 'errors' : '' }}}"> <a href="#" class="nf-breadcrumb" data-index="{{{ index }}}">{{{ ( part.errors ) ? '' : '' }}} {{{ part.title }}}</a> </li> <# } ); #> </ul> <div class="nf-progress-container"> <div class="nf-progress" style="width: {{{ data.percent }}}%;"></div> </div> <nf-fields></nf-fields> <nf-cells></nf-cells> WHERE WE ARE If you want to meet up in the real world, we get it. We’re open to seeing new faces in person – in fact, we love it. You can’t compare having a proper chat with anyone, be it a mate or a client. So if you do want to visit us, call ahead and we’ll sort you out a time slot that suits everyone. Unit 3B Linden Park, Number One Industrial Estate, Consett, DH8 6SZ Call & book an appointment Sign up to our Newsletter Join our mailing list and stay up to date with all the latest For The Trade news. By submitting your details you agree to receive email marketing from For The Trade and have read and understood our Privacy Notice. You can withdraw your consent or change your preferences at any time by emailing us or by clicking the link at the bottom of every email we send you. Subscribe Thank you for subscribing. An email to confirm your preferences will be sent shortly. Contact us 0191 308 5500 Accountants@ForTheTrade.co.uk Head Office: Unit 3B Linden Park, Number One Industrial Estate, Consett, DH8 6SZ Useful linksTerms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Legal information For The Trade Group is a Limited Company registered in England & Wales. Company Registration number 13651642 Facebook {"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_text_0_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","target":"_self"},{"class":"et_pb_text_1_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","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 = 40; var header_height = 80; 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() < 980) { 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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.forthetrade.co.uk\/contact\/consett\/","stats_nonce":"91d218cd3f","share_counts":"340d9965be","follow_counts":"c79007b3eb","total_counts":"af534c64d6","media_single":"74ba646a4b","media_total":"d3671d803d","generate_all_window_nonce":"1c8e60885c","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.forthetrade.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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"17f0bbe8fc","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"2fdf7270a0","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":"23768","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var nfi18n = {"ninjaForms":"Ninja Forms","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formErrorsCorrectErrors":"Please correct errors before submitting this form.","formHoneypot":"If you are a human seeing this field, please leave it empty.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","fieldsMarkedRequired":"Fields marked with an <span class=\"ninja-forms-req-symbol\">*<\/span> are required","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form."}; var nfFrontEnd = {"adminAjax":"https:\/\/www.forthetrade.co.uk\/wp-admin\/admin-ajax.php","ajaxNonce":"31b6e827a9","requireBaseUrl":"https:\/\/www.forthetrade.co.uk\/wp-content\/plugins\/ninja-forms\/assets\/js\/","use_merge_tags":{"user":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"post":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"system":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"fields":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"calculations":{"html":"html","hidden":"hidden","note":"note","unknown":"unknown","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"}},"opinionated_styles":"","filter_esc_status":"false","nf_consent_status_response":[]}; var nfInlineVars = []; /* ]]> */ /* <![CDATA[ */ var nfMPSettings = {"prevLabel":"Previous","nextLabel":"Next"}; /* ]]> */ /* <![CDATA[ */ var bloomSettings = {"ajaxurl":"https:\/\/www.forthetrade.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.forthetrade.co.uk\/contact\/consett\/","stats_nonce":"ba22fee588","subscribe_nonce":"3fc86b444d","is_user_logged_in":"not_logged"}; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ <span id="nf-form-title-{{{ data.id }}}" class="nf-form-title"> {{{ ( 1 == data.settings.show_title ) ? '<h' + data.settings.form_title_heading_level + '>' + data.settings.title + '</h' + data.settings.form_title_heading_level + '>' : '' }}} </span> <div class="nf-form-wrap ninja-forms-form-wrap"> <div class="nf-response-msg"></div> <div class="nf-debug-msg"></div> <div class="nf-before-form"></div> <div class="nf-form-layout"></div> <div class="nf-after-form"></div> </div> {{{ data.beforeForm }}} {{{ data.afterForm }}} <div class="nf-form-fields-required">{{{ data.renderFieldsMarkedRequired() }}}</div> {{{ data.beforeFields }}} {{{ data.afterFields }}} <div id="nf-form-errors-{{{ data.id }}}" class="nf-form-errors" role="alert"></div> <div class="nf-form-hp"></div> {{{ data.beforeField }}} {{{ data.afterField }}} <form> <div> <div class="nf-before-form-content"></div> <div class="nf-form-content {{{ data.element_class }}}"></div> <div class="nf-after-form-content"></div> </div> </form> <label id="nf-label-field-hp-{{{ data.id }}}" for="nf-field-hp-{{{ data.id }}}" aria-hidden="true"> {{{ nfi18n.formHoneypot }}} <input id="nf-field-hp-{{{ data.id }}}" name="nf-field-hp" class="nf-element nf-field-hp" type="text" value="" aria-labelledby="nf-label-field-hp-{{{ data.id }}}" /> </label> <div id="nf-field-{{{ data.id }}}-container" class="nf-field-container {{{ data.type }}}-container {{{ data.renderContainerClass() }}}"> <div class="nf-before-field"></div> <div class="nf-field"></div> <div class="nf-after-field"></div> </div> {{{ data.beforeField }}} <# /* * Render our input limit section if that setting exists. */ #> <div class="nf-input-limit"></div> <# /* * Render our error section if we have an error. */ #> <div id="nf-error-{{{ data.id }}}" class="nf-error-wrap nf-error" role="alert" aria-live="assertive"></div> <# /* * Render any custom HTML after our field. */ #> {{{ data.afterField }}} <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <# /* * This is our main field template. It's called for every field type. * Note that must have ONE top-level, wrapping element. i.e. a div/span/etc that wraps all of the template. */ #> <# /* * Render our label. */ #> {{{ data.renderLabel() }}} <# /* * Render our field element. Uses the template for the field being rendered. */ #> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <# /* * Render our Description Text. */ #> {{{ data.renderDescText() }}} </div> <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <div class="nf-field-label"></div> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <div class="nf-error-wrap"></div> </div> {{{ data.renderElement() }}} <div class="nf-error-wrap"></div> <div class="nf-field-label"> <# if ( data.type === "listcheckbox" || data.type === "listradio" || data.type === "listimage" || data.type === "date" || data.type === "starrating" || data.type === "signature" || data.type === "html" || data.type === "hr" ) { #> <span id="nf-label-field-{{{ data.id }}}" class="nf-label-span {{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </span> <# } else { #> <label for="nf-field-{{{ data.id }}}" id="nf-label-field-{{{ data.id }}}" class="{{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </label> <# } #> </div> <div class="nf-error-msg nf-error-{{{ data.id }}}" aria-live="assertive">{{{ data.msg }}}</div> <div class="nf-error-msg nf-error-{{{ data.id }}}">{{{ data.msg }}}</div> {{{ data.currentCount() }}} {{{ nfi18n.of }}} {{{ data.input_limit }}} {{{ data.input_limit_msg }}} <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeInputLimit() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="text" value="{{{ _.escape( data.value ) }}}" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="tel" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.maybeDisabled() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="email" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{data.maybeDisableAutocomplete()}}} {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <textarea id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeDisableAutocomplete() }}} {{{ data.maybeInputLimit() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} >{{{ _.escape( data.value ) }}}</textarea> <span class="dashicons dashicons-admin-media"></span> <span class="dashicons dashicons-admin-links"></span> <span class="dashicons dashicons-editor-unlink"></span> <div class="summernote-link"> URL <input type="url" class="widefat code link-url"> <br /> Text <input type="url" class="widefat code link-text"> <br /> <label> <input type="checkbox" class="link-new-window"> {{{ nfi18n.fieldsTextareaOpenNewWindow }}} </label> <input type="button" class="cancel-link extra" value="Cancel"> <input type="button" class="insert-link extra" value="Insert"> </div> <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="hidden" value="{{{ data.value }}}" /> <div class="g-recaptcha" data-callback="nf_recaptcha_response_{{{ data.id }}}" data-theme="{{{ data.theme }}}" data-sitekey="{{{ data.site_key }}}" data-fieldid="{{{ data.id }}}" {{{ ( "invisible" == data.size ) ? 'data-size="invisible"' : '' }}}></div> <# let myType = data.type if('save'== data.type){ myType = 'button' } #> <input id="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element " type="{{{myType}}}" value="{{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}}" {{{ ( data.disabled ) ? 'aria-disabled="true" disabled="true"' : '' }}}> <button id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.classes }}} nf-element"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} </button> 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)
https://forthetrade.co.uk/contact/durham
Status: 200
Emails: accountants@forthetrade.co.uk, durham@forthetrade.co.uk
View text
Home About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Payroll Raising finance Management accounts Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Contact Durham office Consett office Client login Client login Call us: 0191 308 5500 Search for: About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office Client login About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office 0191 308 5500 Durham office Home » Contact » Durham office OUR SWANKY NEW OFFICE IN DURHAM Why not pop in and say ‘aareet’ in our new office space. We’ll be happy to have a chat with you about whatever you need – this could be a game-changer if you’re in the Durham area. Call 0191 308 5500 Whatsapp 0191 308 5500 Email Durham@ForTheTrade.co.uk Opening hours Mon – 9am – 5:00pmTue – 9am – 5:00pmWed – 9am – 5:00pmThur – 9am – 5:00pmFri – 9am – 5:00pmSat – Appointment only Notice: JavaScript is required for this content. var formDisplay=1;var nfForms=nfForms||[];var form=[];form.id='3';form.settings={"objectType":"Form Setting","editActive":true,"title":"Contact Form - Durham ","created_at":"2022-04-14 16:29:10","default_label_pos":"above","show_title":"0","clear_complete":"1","hide_complete":"1","logged_in":"","key":"","conditions":[],"wrapper_class":"","element_class":"","add_submit":"1","not_logged_in_msg":"","sub_limit_number":"","sub_limit_msg":"","calculations":[],"formContentData":[{"formContentData":[{"order":1,"cells":[{"order":0,"fields":["first_name_1615802028192"],"width":50},{"order":1,"fields":["last_name_1615802032447"],"width":50}]},{"order":2,"cells":[{"order":0,"fields":["phone_1639090206574"],"width":"100"}]},{"order":3,"cells":[{"order":0,"fields":["email"],"width":"100"}]},{"order":4,"cells":[{"order":0,"fields":["message"],"width":"100"}]},{"order":5,"cells":[{"order":0,"fields":["tick_the_box_below_to_confirm_you_re_a_not_a_robot_1632221859779"],"width":"100"}]},{"order":6,"cells":[{"order":0,"fields":["submit"],"width":"100"}]}],"order":0,"type":"part","clean":true,"title":"Part Title","key":"ynihzog"}],"container_styles_background-color":"","container_styles_border":"","container_styles_border-style":"","container_styles_border-color":"","container_styles_color":"","container_styles_height":"","container_styles_width":"","container_styles_font-size":"","container_styles_margin":"","container_styles_padding":"","container_styles_display":"","container_styles_float":"","container_styles_show_advanced_css":"0","container_styles_advanced":"","title_styles_background-color":"","title_styles_border":"","title_styles_border-style":"","title_styles_border-color":"","title_styles_color":"","title_styles_height":"","title_styles_width":"","title_styles_font-size":"","title_styles_margin":"","title_styles_padding":"","title_styles_display":"","title_styles_float":"","title_styles_show_advanced_css":"0","title_styles_advanced":"","row_styles_background-color":"","row_styles_border":"","row_styles_border-style":"","row_styles_border-color":"","row_styles_color":"","row_styles_height":"","row_styles_width":"","row_styles_font-size":"","row_styles_margin":"","row_styles_padding":"","row_styles_display":"","row_styles_show_advanced_css":"0","row_styles_advanced":"","row-odd_styles_background-color":"","row-odd_styles_border":"","row-odd_styles_border-style":"","row-odd_styles_border-color":"","row-odd_styles_color":"","row-odd_styles_height":"","row-odd_styles_width":"","row-odd_styles_font-size":"","row-odd_styles_margin":"","row-odd_styles_padding":"","row-odd_styles_display":"","row-odd_styles_show_advanced_css":"0","row-odd_styles_advanced":"","success-msg_styles_background-color":"","success-msg_styles_border":"","success-msg_styles_border-style":"","success-msg_styles_border-color":"","success-msg_styles_color":"","success-msg_styles_height":"","success-msg_styles_width":"","success-msg_styles_font-size":"","success-msg_styles_margin":"","success-msg_styles_padding":"","success-msg_styles_display":"","success-msg_styles_show_advanced_css":"0","success-msg_styles_advanced":"","error_msg_styles_background-color":"","error_msg_styles_border":"","error_msg_styles_border-style":"","error_msg_styles_border-color":"","error_msg_styles_color":"","error_msg_styles_height":"","error_msg_styles_width":"","error_msg_styles_font-size":"","error_msg_styles_margin":"","error_msg_styles_padding":"","error_msg_styles_display":"","error_msg_styles_show_advanced_css":"0","error_msg_styles_advanced":"","currency":"","unique_field_error":"A form with this value has already been submitted.","save_progress_allow_multiple":"","save_progress_table_legend":"Load saved progress","save_progress_table_columns":[{"errors":[],"max_options":0,"label":"Column Title","field":"{field}","order":0,"settingModel":{"settings":false,"hide_merge_tags":false,"error":false,"name":"save_progress_table_columns","type":"option-repeater","label":"Save Table Columns <a href=\"#\" class=\"nf-add-new\">Add New<\/a>","width":"full","group":"primary","columns":{"field":{"header":"Field Key","default":""}},"value":[{"label":"Column Title","field":"{field}","order":0}],"tmpl_row":"tmpl-nf-save-progress-table-columns-repeater-row"}}],"mp_breadcrumb":"1","mp_progress_bar":"1","mp_display_titles":"0","breadcrumb_container_styles_show_advanced_css":"0","breadcrumb_buttons_styles_show_advanced_css":"0","breadcrumb_button_hover_styles_show_advanced_css":"0","breadcrumb_active_button_styles_show_advanced_css":"0","progress_bar_container_styles_show_advanced_css":"0","progress_bar_fill_styles_show_advanced_css":"0","part_titles_styles_show_advanced_css":"0","navigation_container_styles_show_advanced_css":"0","previous_button_styles_show_advanced_css":"0","next_button_styles_show_advanced_css":"0","navigation_hover_styles_show_advanced_css":"0","repeatable_fieldsets":"","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","formErrorsCorrectErrors":"Please correct errors before submitting this form.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fieldsMarkedRequired":" ","drawerDisabled":false,"allow_public_link":0,"embed_form":"","ninjaForms":"Ninja Forms","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formHoneypot":"If you are a human seeing this field, please leave it empty.","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form.","currency_symbol":"","beforeForm":"","beforeFields":"","afterFields":"","afterForm":""};form.fields=[{"objectType":"Field","objectDomain":"fields","editActive":false,"order":1,"idAttribute":"id","label":"First name","key":"first_name_1615802028192","type":"textbox","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","mask":"","custom_mask":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4683","custom_name_attribute":"","personally_identifiable":"","value":"","drawerDisabled":"","field_label":"First name","field_key":"first_name_1615802028192","id":74,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":2,"idAttribute":"id","type":"lastname","label":"Last name","key":"last_name_1615802032447","label_pos":"above","required":1,"default":"","placeholder":"","container_class":"","element_class":"","admin_label":"","help_text":"","custom_name_attribute":"lname","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4686","value":"","drawerDisabled":"","field_label":"Last name","field_key":"last_name_1615802032447","id":78,"beforeField":"","afterField":"","parentType":"lastname","element_templates":["lastname","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":3,"idAttribute":"id","type":"phone","label":"Phone","key":"phone_1639090206574","label_pos":"above","required":1,"default":"","placeholder":"","container_class":"","element_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","admin_label":"","help_text":"","mask":"","custom_mask":"","custom_name_attribute":"phone","personally_identifiable":1,"wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"element_styles_border":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_float":"","element_styles_show_advanced_css":0,"cellcid":"c4689","value":"","drawerDisabled":"","field_label":"Phone","field_key":"phone_1639090206574","id":80,"beforeField":"","afterField":"","parentType":"textbox","element_templates":["tel","textbox","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":4,"idAttribute":"id","label":"Email","key":"email","type":"email","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","admin_label":"","help_text":"","desc_text":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4692","custom_name_attribute":"email","personally_identifiable":1,"value":"","field_label":"Email","field_key":"email","id":75,"beforeField":"","afterField":"","parentType":"email","element_templates":["email","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":5,"idAttribute":"id","label":"Message","key":"message","type":"textarea","created_at":"2019-02-05 10:57:14","label_pos":"above","required":1,"placeholder":"","default":"","wrapper_class":"","element_class":"","container_class":"","input_limit":"","input_limit_type":"characters","input_limit_msg":"Character(s) left","manual_key":"","disable_input":"","admin_label":"","help_text":"","desc_text":"","disable_browser_autocomplete":"","textarea_rte":"","disable_rte_mobile":"","textarea_media":"","wrap_styles_background-color":"","wrap_styles_border":"","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"","element_styles_border":"","element_styles_border-style":"","element_styles_border-color":"","element_styles_color":"","element_styles_height":"","element_styles_width":"","element_styles_font-size":"","element_styles_margin":"","element_styles_padding":"","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","cellcid":"c4695","value":"","field_label":"Message","field_key":"message","id":76,"beforeField":"","afterField":"","parentType":"textarea","element_templates":["textarea","input"],"old_classname":"","wrap_template":"wrap"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":6,"idAttribute":"id","label":"Tick the box below to confirm you're a not a robot","type":"recaptcha","container_class":"","element_class":"","wrap_styles_border":"","wrap_styles_width":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"label_styles_border":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_float":"","label_styles_show_advanced_css":0,"size":"visible","key":"tick_the_box_below_to_confirm_you_re_a_not_a_robot_1632221859779","cellcid":"c4698","drawerDisabled":"","field_label":"Tick the box below to confirm you're a not a robot","field_key":"tick_the_box_below_to_confirm_you_re_a_not_a_robot_1632221859779","id":79,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["recaptcha","input"],"old_classname":"","wrap_template":"wrap","site_key":"6Ldq_N0UAAAAALjXvXS9nSe5R80_xTzTVGZ4JZrM","theme":"light","lang":"en-GB"},{"objectType":"Field","objectDomain":"fields","editActive":false,"order":7,"idAttribute":"id","label":"Submit","key":"submit","type":"submit","created_at":"2019-02-05 10:57:14","processing_label":"Processing","container_class":"","element_class":"","wrap_styles_background-color":"","wrap_styles_border":"0px","wrap_styles_border-style":"","wrap_styles_border-color":"","wrap_styles_color":"","wrap_styles_height":"","wrap_styles_width":"","wrap_styles_font-size":"","wrap_styles_margin":"","wrap_styles_padding":"","wrap_styles_display":"","wrap_styles_float":"","wrap_styles_show_advanced_css":0,"wrap_styles_advanced":"","label_styles_background-color":"","label_styles_border":"","label_styles_border-style":"","label_styles_border-color":"","label_styles_color":"","label_styles_height":"","label_styles_width":"","label_styles_font-size":"","label_styles_margin":"","label_styles_padding":"","label_styles_display":"","label_styles_float":"","label_styles_show_advanced_css":0,"label_styles_advanced":"","element_styles_background-color":"#f48717","element_styles_border":"0px","element_styles_border-style":"","element_styles_border-color":"#ffffff","element_styles_color":"#000000","element_styles_height":"","element_styles_width":"","element_styles_font-size":"18px","element_styles_margin":"","element_styles_padding":"13px 30px","element_styles_display":"","element_styles_float":"","element_styles_show_advanced_css":0,"element_styles_advanced":"","submit_element_hover_styles_background-color":"","submit_element_hover_styles_border":"","submit_element_hover_styles_border-style":"","submit_element_hover_styles_border-color":"","submit_element_hover_styles_color":"","submit_element_hover_styles_height":"","submit_element_hover_styles_width":"","submit_element_hover_styles_font-size":"","submit_element_hover_styles_margin":"","submit_element_hover_styles_padding":"","submit_element_hover_styles_display":"","submit_element_hover_styles_float":"","submit_element_hover_styles_show_advanced_css":0,"submit_element_hover_styles_advanced":"","cellcid":"c4701","drawerDisabled":"","field_label":"Submit","field_key":"submit","id":77,"beforeField":"","afterField":"","value":"","label_pos":"above","parentType":"textbox","element_templates":["submit","button","input"],"old_classname":"","wrap_template":"wrap-no-label"}];nfForms.push(form); <div class="nf-mp-header"></div> <div class="nf-mp-body"></div> <div class="nf-mp-footer"></div> {{{ data.renderProgressBar() }}} {{{ data.renderBreadcrumbs() }}} {{{ data.renderPartTitle() }}} <h3> {{{ data.title }}} </h3> {{{ data.renderNextPrevious() }}} <ul class="nf-next-previous"> <# if ( data.showPrevious ) { #> <li class="nf-previous-item"> <input type="button" class="nf-previous" value="{{{ data.prevLabel }}}" /> </li> <# } #> <# if ( data.showNext ) { #> <li class="nf-next-item"> <input type="button" class="nf-next" value="{{{ data.nextLabel }}}" /> </li> <# } #> </ul> <ul class="nf-breadcrumbs"> <# _.each( data.parts, function( part, index ) { #> <li class="{{{ ( data.currentIndex == index ) ? 'active' : '' }}} {{{ ( part.errors ) ? 'errors' : '' }}}"> <a href="#" class="nf-breadcrumb" data-index="{{{ index }}}">{{{ ( part.errors ) ? '' : '' }}} {{{ part.title }}}</a> </li> <# } ); #> </ul> <div class="nf-progress-container"> <div class="nf-progress" style="width: {{{ data.percent }}}%;"></div> </div> <nf-fields></nf-fields> <nf-cells></nf-cells> WHERE WE ARE If you want to meet up in the real world, we get it. We’re open to seeing new faces in person – in fact, we love it. You can’t compare having a proper chat with anyone, be it a mate or a client. So if you do want to visit us, call ahead and we’ll sort you out a time slot that suits everyone. Whitfield House, St John’s Rd, Meadowfield, Durham DH7 8XL Call & book an appointment Sign up to our Newsletter Join our mailing list and stay up to date with all the latest For The Trade news. By submitting your details you agree to receive email marketing from For The Trade and have read and understood our Privacy Notice. You can withdraw your consent or change your preferences at any time by emailing us or by clicking the link at the bottom of every email we send you. Subscribe Thank you for subscribing. An email to confirm your preferences will be sent shortly. Contact us 0191 308 5500 Accountants@ForTheTrade.co.uk Head Office: Unit 3B Linden Park, Number One Industrial Estate, Consett, DH8 6SZ Useful linksTerms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Legal information For The Trade Group is a Limited Company registered in England & Wales. Company Registration number 13651642 Facebook {"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_text_0_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","target":"_self"},{"class":"et_pb_text_1_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","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 = 40; var header_height = 80; 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() < 980) { 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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.forthetrade.co.uk\/contact\/durham\/","stats_nonce":"c6658cff06","share_counts":"e3842be0c9","follow_counts":"de863b7831","total_counts":"14ad640e26","media_single":"3f267c0661","media_total":"d580c2e9a0","generate_all_window_nonce":"24263c27c1","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.forthetrade.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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"c7ea29d119","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"200a7e32db","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":"23761","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var nfi18n = {"ninjaForms":"Ninja Forms","changeEmailErrorMsg":"Please enter a valid email address!","changeDateErrorMsg":"Please enter a valid date!","confirmFieldErrorMsg":"These fields must match!","fieldNumberNumMinError":"Number Min Error","fieldNumberNumMaxError":"Number Max Error","fieldNumberIncrementBy":"Please increment by ","fieldTextareaRTEInsertLink":"Insert Link","fieldTextareaRTEInsertMedia":"Insert Media","fieldTextareaRTESelectAFile":"Select a file","formErrorsCorrectErrors":"Please correct errors before submitting this form.","formHoneypot":"If you are a human seeing this field, please leave it empty.","validateRequiredField":"This is a required field.","honeypotHoneypotError":"Honeypot Error","fileUploadOldCodeFileUploadInProgress":"File Upload in Progress.","fileUploadOldCodeFileUpload":"FILE UPLOAD","currencySymbol":"$","fieldsMarkedRequired":"Fields marked with an <span class=\"ninja-forms-req-symbol\">*<\/span> are required","thousands_sep":",","decimal_point":".","siteLocale":"en_GB","dateFormat":"m\/d\/Y","startOfWeek":"1","of":"of","previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"weekdaysMin":["Su","Mo","Tu","We","Th","Fr","Sa"],"recaptchaConsentMissing":"reCaptcha validation couldn't load.","recaptchaMissingCookie":"reCaptcha v3 validation couldn't load the cookie needed to submit the form.","recaptchaConsentEvent":"Accept reCaptcha cookies before sending the form."}; var nfFrontEnd = {"adminAjax":"https:\/\/www.forthetrade.co.uk\/wp-admin\/admin-ajax.php","ajaxNonce":"63113d2740","requireBaseUrl":"https:\/\/www.forthetrade.co.uk\/wp-content\/plugins\/ninja-forms\/assets\/js\/","use_merge_tags":{"user":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"post":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"system":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"fields":{"address":"address","textbox":"textbox","button":"button","checkbox":"checkbox","city":"city","confirm":"confirm","date":"date","email":"email","firstname":"firstname","html":"html","hcaptcha":"hcaptcha","hidden":"hidden","lastname":"lastname","listcheckbox":"listcheckbox","listcountry":"listcountry","listimage":"listimage","listmultiselect":"listmultiselect","listradio":"listradio","listselect":"listselect","liststate":"liststate","note":"note","number":"number","password":"password","passwordconfirm":"passwordconfirm","product":"product","quantity":"quantity","recaptcha":"recaptcha","recaptcha_v3":"recaptcha_v3","repeater":"repeater","shipping":"shipping","signature":"signature","spam":"spam","starrating":"starrating","submit":"submit","terms":"terms","textarea":"textarea","total":"total","turnstile":"turnstile","unknown":"unknown","zip":"zip","hr":"hr","file_upload":"file_upload","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"},"calculations":{"html":"html","hidden":"hidden","note":"note","unknown":"unknown","user-analytics-browser":"user-analytics-browser","user-analytics-browser-version":"user-analytics-browser-version","user-analytics-ip-address":"user-analytics-ip-address","user-analytics-os":"user-analytics-os","user-analytics-referer":"user-analytics-referer","user-analytics-utm-campaign":"user-analytics-utm-campaign","user-analytics-utm-content":"user-analytics-utm-content","user-analytics-utm-medium":"user-analytics-utm-medium","user-analytics-utm-source":"user-analytics-utm-source","user-analytics-utm-term":"user-analytics-utm-term"}},"opinionated_styles":"","filter_esc_status":"false","nf_consent_status_response":[]}; var nfInlineVars = []; /* ]]> */ /* <![CDATA[ */ var nfMPSettings = {"prevLabel":"Previous","nextLabel":"Next"}; /* ]]> */ /* <![CDATA[ */ var bloomSettings = {"ajaxurl":"https:\/\/www.forthetrade.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.forthetrade.co.uk\/contact\/durham\/","stats_nonce":"6900f26026","subscribe_nonce":"5fb12dc3f8","is_user_logged_in":"not_logged"}; /* ]]> */ /* <![CDATA[ */ var et_pb_motion_elements = {"desktop":[],"tablet":[],"phone":[]}; /* ]]> */ /* <![CDATA[ */ var et_pb_sticky_elements = []; /* ]]> */ <span id="nf-form-title-{{{ data.id }}}" class="nf-form-title"> {{{ ( 1 == data.settings.show_title ) ? '<h' + data.settings.form_title_heading_level + '>' + data.settings.title + '</h' + data.settings.form_title_heading_level + '>' : '' }}} </span> <div class="nf-form-wrap ninja-forms-form-wrap"> <div class="nf-response-msg"></div> <div class="nf-debug-msg"></div> <div class="nf-before-form"></div> <div class="nf-form-layout"></div> <div class="nf-after-form"></div> </div> {{{ data.beforeForm }}} {{{ data.afterForm }}} <div class="nf-form-fields-required">{{{ data.renderFieldsMarkedRequired() }}}</div> {{{ data.beforeFields }}} {{{ data.afterFields }}} <div id="nf-form-errors-{{{ data.id }}}" class="nf-form-errors" role="alert"></div> <div class="nf-form-hp"></div> {{{ data.beforeField }}} {{{ data.afterField }}} <form> <div> <div class="nf-before-form-content"></div> <div class="nf-form-content {{{ data.element_class }}}"></div> <div class="nf-after-form-content"></div> </div> </form> <label id="nf-label-field-hp-{{{ data.id }}}" for="nf-field-hp-{{{ data.id }}}" aria-hidden="true"> {{{ nfi18n.formHoneypot }}} <input id="nf-field-hp-{{{ data.id }}}" name="nf-field-hp" class="nf-element nf-field-hp" type="text" value="" aria-labelledby="nf-label-field-hp-{{{ data.id }}}" /> </label> <div id="nf-field-{{{ data.id }}}-container" class="nf-field-container {{{ data.type }}}-container {{{ data.renderContainerClass() }}}"> <div class="nf-before-field"></div> <div class="nf-field"></div> <div class="nf-after-field"></div> </div> {{{ data.beforeField }}} <# /* * Render our input limit section if that setting exists. */ #> <div class="nf-input-limit"></div> <# /* * Render our error section if we have an error. */ #> <div id="nf-error-{{{ data.id }}}" class="nf-error-wrap nf-error" role="alert" aria-live="assertive"></div> <# /* * Render any custom HTML after our field. */ #> {{{ data.afterField }}} <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <# /* * This is our main field template. It's called for every field type. * Note that must have ONE top-level, wrapping element. i.e. a div/span/etc that wraps all of the template. */ #> <# /* * Render our label. */ #> {{{ data.renderLabel() }}} <# /* * Render our field element. Uses the template for the field being rendered. */ #> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <# /* * Render our Description Text. */ #> {{{ data.renderDescText() }}} </div> <div id="nf-field-{{{ data.id }}}-wrap" class="{{{ data.renderWrapClass() }}}" data-field-id="{{{ data.id }}}"> <div class="nf-field-label"></div> <div class="nf-field-element">{{{ data.renderElement() }}}</div> <div class="nf-error-wrap"></div> </div> {{{ data.renderElement() }}} <div class="nf-error-wrap"></div> <div class="nf-field-label"> <# if ( data.type === "listcheckbox" || data.type === "listradio" || data.type === "listimage" || data.type === "date" || data.type === "starrating" || data.type === "signature" || data.type === "html" || data.type === "hr" ) { #> <span id="nf-label-field-{{{ data.id }}}" class="nf-label-span {{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </span> <# } else { #> <label for="nf-field-{{{ data.id }}}" id="nf-label-field-{{{ data.id }}}" class="{{{ data.renderLabelClasses() }}}"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}} </label> <# } #> </div> <div class="nf-error-msg nf-error-{{{ data.id }}}" aria-live="assertive">{{{ data.msg }}}</div> <div class="nf-error-msg nf-error-{{{ data.id }}}">{{{ data.msg }}}</div> {{{ data.currentCount() }}} {{{ nfi18n.of }}} {{{ data.input_limit }}} {{{ data.input_limit_msg }}} <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeInputLimit() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="text" value="{{{ _.escape( data.value ) }}}" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="text" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="tel" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.maybeDisabled() }}} id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{ data.maybeDisableAutocomplete() }}} {{{ data.renderPlaceholder() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <input type="email" value="{{{ _.escape( data.value ) }}}" class="{{{ data.renderClasses() }}} nf-element" id="nf-field-{{{ data.id }}}" name="{{ data.custom_name_attribute || 'nf-field-' + data.id + '-' + data.type }}" {{{data.maybeDisableAutocomplete()}}} {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} > <textarea id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" aria-invalid="false" aria-describedby="<# if( data.desc_text ) { #>nf-description-{{{ data.id }}} <# } #>nf-error-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" {{{ data.renderPlaceholder() }}} {{{ data.maybeDisabled() }}} {{{ data.maybeDisableAutocomplete() }}} {{{ data.maybeInputLimit() }}} aria-labelledby="nf-label-field-{{{ data.id }}}" {{{ data.maybeRequired() }}} >{{{ _.escape( data.value ) }}}</textarea> <span class="dashicons dashicons-admin-media"></span> <span class="dashicons dashicons-admin-links"></span> <span class="dashicons dashicons-editor-unlink"></span> <div class="summernote-link"> URL <input type="url" class="widefat code link-url"> <br /> Text <input type="url" class="widefat code link-text"> <br /> <label> <input type="checkbox" class="link-new-window"> {{{ nfi18n.fieldsTextareaOpenNewWindow }}} </label> <input type="button" class="cancel-link extra" value="Cancel"> <input type="button" class="insert-link extra" value="Insert"> </div> <input id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element" type="hidden" value="{{{ data.value }}}" /> <div class="g-recaptcha" data-callback="nf_recaptcha_response_{{{ data.id }}}" data-theme="{{{ data.theme }}}" data-sitekey="{{{ data.site_key }}}" data-fieldid="{{{ data.id }}}" {{{ ( "invisible" == data.size ) ? 'data-size="invisible"' : '' }}}></div> <# let myType = data.type if('save'== data.type){ myType = 'button' } #> <input id="nf-field-{{{ data.id }}}" class="{{{ data.renderClasses() }}} nf-element " type="{{{myType}}}" value="{{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}}" {{{ ( data.disabled ) ? 'aria-disabled="true" disabled="true"' : '' }}}> <button id="nf-field-{{{ data.id }}}" name="nf-field-{{{ data.id }}}" class="{{{ data.classes }}} nf-element"> {{{ ( data.maybeFilterHTML() === 'true' ) ? _.escape( data.label ) : data.label }}} </button> 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)
https://forthetrade.co.uk/contact
Status: 200
Emails: accountants@forthetrade.co.uk
View text
Home About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Payroll Raising finance Management accounts Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Contact Durham office Consett office Client login Client login Call us: 0191 308 5500 Search for: About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office Client login About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office 0191 308 5500 Contact Home » Contact Give us a ring We’re always happy for a quick chat, even if it’s not about work. We’re here to talk you through anything you’re not sure about, give you the details, and have a laugh. No pressure, no stress – we’re ready and waiting. Call 0191 308 5500 Whatsapp 0191 308 5500 Email Accountants@ ForTheTrade.co.uk DURHAM OFFICE We’ll be happy to have a chat with you about whatever you need – this could be a game-changer if you’re in the Durham area. View office The full works We’ve been working in the Consett area for a while now and we’d love to see you in the flesh. It’s always great to put a face to the name. View office come in and sort out your finances If you want to meet up in the real world, we get it. We’re open to seeing new faces in person – in fact, we love it. You can’t compare having a proper chat with anyone, be it a mate or a client. So if you do want to visit us, call ahead and we’ll sort you out a time slot that suits everyone. Call & book an appointment Sign up to our Newsletter Join our mailing list and stay up to date with all the latest For The Trade news. By submitting your details you agree to receive email marketing from For The Trade and have read and understood our Privacy Notice. You can withdraw your consent or change your preferences at any time by emailing us or by clicking the link at the bottom of every email we send you. Subscribe Thank you for subscribing. An email to confirm your preferences will be sent shortly. Contact us 0191 308 5500 Accountants@ForTheTrade.co.uk Head Office: Unit 3B Linden Park, Number One Industrial Estate, Consett, DH8 6SZ Useful linksTerms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Legal information For The Trade Group is a Limited Company registered in England & Wales. Company Registration number 13651642 Facebook {"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_text_0_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","target":"_self"},{"class":"et_pb_text_1_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","target":"_self"},{"class":"et_pb_text_3","url":"https:\/\/www.forthetrade.co.uk\/contact\/durham\/","target":"_self"},{"class":"et_pb_text_5","url":"https:\/\/www.forthetrade.co.uk\/contact\/consett\/","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 = 40; var header_height = 80; 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() < 980) { 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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.forthetrade.co.uk\/contact\/","stats_nonce":"91d218cd3f","share_counts":"340d9965be","follow_counts":"c79007b3eb","total_counts":"af534c64d6","media_single":"74ba646a4b","media_total":"d3671d803d","generate_all_window_nonce":"1c8e60885c","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.forthetrade.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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"17f0bbe8fc","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"2fdf7270a0","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":"23773","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","waypoints_options":[]}; var et_pb_box_shadow_elements = []; /* ]]> */ /* <![CDATA[ */ var bloomSettings = {"ajaxurl":"https:\/\/www.forthetrade.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.forthetrade.co.uk\/contact\/","stats_nonce":"ba22fee588","subscribe_nonce":"3fc86b444d","is_user_logged_in":"not_logged"}; /* ]]> */ /* <![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)
https://forthetrade.co.uk/about/meet-the-team
Status: 200
Emails: kayleigh@forthetrade.co.uk, jordan@forthetrade.co.uk, shaun@forthetrade.co.uk, charlotte@forthetrade.co.uk, accountants@forthetrade.co.uk
View text
Home About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Payroll Raising finance Management accounts Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Contact Durham office Consett office Client login Client login Call us: 0191 308 5500 Search for: About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office Client login About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office 0191 308 5500 Meet the team Home » About » Meet the team SEE THE FACES BEHIND THE HARD WORK We’re not a normal accountancy firm, not by a long shot. That’s what makes coming to work so special. If you’ve ever caught up with one of us, you know that we pride ourselves on being as real as possible. It makes your lives a hell of a lot easier, and lets us be ourselves. Win win. Anyway, here’s the team – and what a bloody lovely bunch they are. Kayleigh Wilkinson Admin Specialist 07548829267 Kayleigh@ForTheTrade.co.uk View profile Jordan Jewitt Managing Director 07957742585 jordan@ForTheTrade.co.uk View profile Shaun Smithson Senior Accountant 07706 325601 Shaun@ForTheTrade.co.uk View profile Charlotte Connolly Accountant 07548829273 Charlotte@ForTheTrade.co.uk View profile Cut the shit - let's talk Don’t waste any more time. Give us a call, and let’s chat. Even if you just want to find out a bit more, we get it. Sometimes you can’t tell whether someone is having you on unless you get them on the end of the phone, but we’ll be honest and open. We’re excited to see how we can help you. Have a chat Whatsapp 0191 308 5500 Email Accountants@ForTheTrade.co.uk Call 0191 308 5500 In person Come in and grab a cuppa. Opening hours Mon - 8am - 5:30pmTue - 8am - 5:30pmWed - 8am - 5:30pmThur - 8am - 5:30pmFri - 8am - 5:30pmSat - Appointment only Contact us 0191 308 5500 Accountants@ForTheTrade.co.uk Head Office: Unit 3B Linden Park, Number One Industrial Estate, Consett, DH8 6SZ Useful linksTerms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Legal information For The Trade Group is a Limited Company registered in England & Wales. Company Registration number 13651642 Facebook {"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_text_0_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","target":"_self"},{"class":"et_pb_text_1_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","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 = 40; var header_height = 80; 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() < 980) { 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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.forthetrade.co.uk\/about\/meet-the-team\/","stats_nonce":"c6658cff06","share_counts":"e3842be0c9","follow_counts":"de863b7831","total_counts":"14ad640e26","media_single":"3f267c0661","media_total":"d580c2e9a0","generate_all_window_nonce":"24263c27c1","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.forthetrade.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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"c7ea29d119","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"200a7e32db","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":"23787","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","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)
https://forthetrade.co.uk/about
Status: 200
Emails: accountants@forthetrade.co.uk
View text
Home About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Payroll Raising finance Management accounts Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Contact Durham office Consett office Client login Client login Call us: 0191 308 5500 Search for: About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office Client login About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office 0191 308 5500 Plan | Measure | Build About Home » About HELPING you DO BETTER When our founder Jordan set up For The Trade, his mission was simple. Empower the tradesmen of the North to take ownership of their own future. With a no-bollocks approach to operations, that does away with the jargon and waffle that normal accountancy is known for, and an around-the-clock, salt of the earth, honest way of working. We’ll give you the respect you deserve and the support you need, so you can meet the weekend head-on with a smile and a pint. we do it proper Getting your accounts set up, doing them right, sorting out your tax – boom, job done. TELL IT STRAIGHT We’ve got the answers and we don’t bury them in bullshit and waffle. No ghosting We don’t take the piss. We’ll be there when you need us, by phone or WhatsApp. Forward thinking We’ll put your success first. We’re not here to just make a few bob. It’s about you. “We’ve been working with Jordan for a few years now and only have good things to say!” David, Orangutan Arb Ltd Trade news Look, it can be dull. But, you know what it’s like to not scope a job properly. Think of it like that, and it’s in your best interest to find out what’s going on. So you can stay ahead of everyone else, and read up on the latest trade news. View all articles Ready to grow? How to hire your first team member Nov 15, 2025 | Business expenses, Construction, PropertyThinking about how to hire your first employee? Learn what to do, what it costs, and how to stay compliant. read more Ready to grow? How to hire your first team member Nov 15, 2025 | Business expenses, Construction, PropertyThinking about how to hire your first employee? Learn what to do, what it costs, and how to stay compliant. read more On-the-go accounting: Why cloud software is a game changer Oct 20, 2025 | Business expenses, ConstructionWhy cloud software helps trades go faster: real-time numbers, simpler VAT and fewer late nights. Switch to Xero with our expert setup. read more On-the-go accounting: Why cloud software is a game changer Oct 20, 2025 | Business expenses, ConstructionWhy cloud software helps trades go faster: real-time numbers, simpler VAT and fewer late nights. Switch to Xero with our expert setup. read more We cater for all trades We don’t mess about – if you’re a tradesman then we’ll help, simple as. Don’t worry about being in a pickle. We’re here to help you achieve your goals and finish the week down the pub with a smile on your face knowing that your finances are in decent shape. View all trades Construction Property Sparky Plumber Joiner Cut the shit - let's talk Don’t waste any more time. Give us a call, and let’s chat. Even if you just want to find out a bit more, we get it. Sometimes you can’t tell whether someone is having you on unless you get them on the end of the phone, but we’ll be honest and open. We’re excited to see how we can help you. Have a chat Whatsapp 0191 308 5500 Email Accountants@ForTheTrade.co.uk Call 0191 308 5500 In person Come in and grab a cuppa. Opening hours Mon - 8am - 5:30pmTue - 8am - 5:30pmWed - 8am - 5:30pmThur - 8am - 5:30pmFri - 8am - 5:30pmSat - Appointment only Contact us 0191 308 5500 Accountants@ForTheTrade.co.uk Head Office: Unit 3B Linden Park, Number One Industrial Estate, Consett, DH8 6SZ Useful linksTerms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Legal information For The Trade Group is a Limited Company registered in England & Wales. Company Registration number 13651642 Facebook {"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_text_0_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","target":"_self"},{"class":"et_pb_text_1_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","target":"_self"},{"class":"et_pb_text_10","url":"https:\/\/www.forthetrade.co.uk\/trades\/construction\/","target":"_self"},{"class":"et_pb_text_11","url":"https:\/\/www.forthetrade.co.uk\/trades\/property\/","target":"_self"},{"class":"et_pb_text_12","url":"https:\/\/www.forthetrade.co.uk\/trades\/sparky\/","target":"_self"},{"class":"et_pb_text_13","url":"https:\/\/www.forthetrade.co.uk\/trades\/plumber\/","target":"_self"},{"class":"et_pb_text_14","url":"https:\/\/www.forthetrade.co.uk\/trades\/joiner\/","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 = 40; var header_height = 80; 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() < 980) { 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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.forthetrade.co.uk\/about\/","stats_nonce":"91d218cd3f","share_counts":"340d9965be","follow_counts":"c79007b3eb","total_counts":"af534c64d6","media_single":"74ba646a4b","media_total":"d3671d803d","generate_all_window_nonce":"1c8e60885c","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.forthetrade.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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"17f0bbe8fc","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"2fdf7270a0","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.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","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)
https://forthetrade.co.uk/
Status: 200
Emails: accountants@forthetrade.co.uk
View text
Home About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Payroll Raising finance Management accounts Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Contact Durham office Consett office Client login Client login Call us: 0191 308 5500 Search for: About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office Client login About Meet the team Blog Services Bookkeeping CIS for contractors CIS for subcontractors Company accounts Management accounts Marketing Payroll Raising finance Software Tax returns VAT returns Trades Construction Property Sparky Plumber Joiner Pricing Contact Durham office Consett office 0191 308 5500 Plan | Measure | Build Build your business from the ground up We’re accountants for the trades and we’ve got big ideas for your business. We’ll help you earn more, pay less tax, expand your business and, one day, get off the tools. N we do it proper Getting your accounts set up, doing them right, sorting out your tax – boom, job done. N No ghosting We don’t take the piss. We’ll be there when you need us, by phone or WhatsApp. N TELL IT STRAIGHT We’ve got the answers and we don’t bury them in bullshit and waffle. How can we help? If you’re a tradesman who wants an accountant who gets it, and gets on with it – give us a shout. Our thing is making life easier for people in the trade, on the tools, across the North East of England. How do we do that? For starters, we get to the point, keeping you in the know about how to make more money and pay less tax. 01. SAVING YOU TIME Keeping on top of the books whilst you’re on the road all day is bloody hard. Who’s got the time? Well, don’t sweat it – just leave it to us and you can pretty much just forget about it. Sort the numbers 02. DON’T STRESS TAX Tax is confusing. You don’t have the time to deal with it. So let us take it on. We can deal with all elements of tax and CIS so you get the best deal. More on TAX & CIS 03. FINANCIAL PEACE OF MIND We’ll get your accounts sorted and sent off well in time. We’ll help you out wherever you need our support and, when we’re done, you’ll realise how much time you’ve saved by getting us to sort it. Get your accounts done 04. ALWAYS ACCESSIBLE We can get you set up with accounting software that saves you time and makes life easier – like any decent tool. We’ll cut the crap and give you access to the info you need. Software support “When Jordan’s not trying to be funny, he actually does a cracking job of keeping me on the right track” Craig, CJS Interiors North East Ltd Packages for the trade Designed to work just how you work, we’ve got everything you need clearly labeled and priced. No nonsense, honest, and down-to-earth accounting that you can rely on. View all packages 01 Contractor WHITE VAN MAN Includes: Yearly tax return CIS Claim Future business planning Read more 02 Sole trader ONE MAN BAND Includes: Yearly accounts Bookkeeping Future business planning 1-2-1 Face time Read more 03 Small business GETTING AROUND Includes: Quarterly accounts Payroll support Future business planning 1-2-1 Face time Read more 04 Large company MAKING BIG BUCKS Includes: Monthly accounts CIS returns Future business planning 1-2-1 Face time Read more 05 Bespoke The full works Includes: Weekly cash planning Real time bookkeeping Monthly finance meetings Read more We cater for all trades We don’t mess about – if you’re a tradesman then we’ll help, simple as. Don’t worry if you've gotten into a mess. We’re here to help you achieve your goals and finish the week down the pub with a smile on your face knowing that your finances are in decent shape. View all trades Construction Property Sparky Plumber Joiner don’t mess about when it comes to your business, give us a call today! Call us on: 0191 308 5500 Or drop us a message: Contact us Contact us 0191 308 5500 Accountants@ForTheTrade.co.uk Head Office: Unit 3B Linden Park, Number One Industrial Estate, Consett, DH8 6SZ Useful linksTerms & Conditions Privacy Statement & Cookie Policy Cookie Information Accessibility Statement Copyright Legal information For The Trade Group is a Limited Company registered in England & Wales. Company Registration number 13651642 Facebook {"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_text_0_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","target":"_self"},{"class":"et_pb_text_1_tb_header","url":"https:\/\/www.accountancymanager.co.uk\/signin?page=\ufeff","target":"_self"},{"class":"et_pb_text_34","url":"https:\/\/www.forthetrade.co.uk\/trades\/construction\/","target":"_self"},{"class":"et_pb_text_35","url":"https:\/\/www.forthetrade.co.uk\/trades\/property\/","target":"_self"},{"class":"et_pb_text_36","url":"https:\/\/www.forthetrade.co.uk\/trades\/sparky\/","target":"_self"},{"class":"et_pb_text_37","url":"https:\/\/www.forthetrade.co.uk\/trades\/plumber\/","target":"_self"},{"class":"et_pb_text_38","url":"https:\/\/www.forthetrade.co.uk\/trades\/joiner\/","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 = 40; var header_height = 80; 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() < 980) { 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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","pageurl":"https:\/\/www.forthetrade.co.uk\/","stats_nonce":"91d218cd3f","share_counts":"340d9965be","follow_counts":"c79007b3eb","total_counts":"af534c64d6","media_single":"74ba646a4b","media_total":"d3671d803d","generate_all_window_nonce":"1c8e60885c","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.forthetrade.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.forthetrade.co.uk\/wp-admin\/admin-ajax.php","images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/images","builder_images_uri":"https:\/\/www.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/images","et_frontend_nonce":"17f0bbe8fc","subscription_failed":"Please, check the fields below to make sure you entered the correct information.","et_ab_log_nonce":"2fdf7270a0","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.forthetrade.co.uk\/wp-content\/themes\/Divi\/includes\/builder\/frontend-builder\/assets\/vendors","accent_color":"#1e73be","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)