Enter your details and receive the resource pdf directly to your inbox.
By providing your information you agree to our Privacy Policy. This site is protected by reCAPTCHA.We promise to respect your data and never share or sell it to anyone.
var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Share on Facebook","shareOnTwitter":"Share on Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Download image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Play Video","previous":"Previous","next":"Next","close":"Close","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1280,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":1640,"default_value":2400,"direction":"min","is_enabled":false}},"hasCustomBreakpoints":false},"version":"3.32.2","is_static":false,"experimentalFeatures":{"e_font_icon_svg":true,"additional_custom_breakpoints":true,"container":true,"e_optimized_markup":true,"theme_builder_v2":true,"hello-theme-header-footer":true,"nested-elements":true,"home_screen":true,"global_classes_should_enforce_capabilities":true,"e_variables":true,"cloud-library":true,"e_opt_in_v4_page":true,"import-export-customization":true,"mega-menu":true},"urls":{"assets":"https:\/\/seventhelement.agency\/wp-content\/plugins\/elementor\/assets\/","ajaxurl":"https:\/\/seventhelement.agency\/wp-admin\/admin-ajax.php","uploadUrl":"https:\/\/seventhelement.agency\/wp-content\/uploads"},"nonces":{"floatingButtonsClickTracking":"091e873c01"},"swiperClass":"swiper","settings":{"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"global_image_lightbox":"yes","lightbox_enable_counter":"yes","lightbox_enable_fullscreen":"yes","lightbox_enable_zoom":"yes","lightbox_enable_share":"yes","lightbox_title_src":"title","lightbox_description_src":"description","hello_header_logo_type":"logo","hello_header_menu_layout":"horizontal","hello_footer_logo_type":"logo"},"post":{"id":0,"title":"Trends & News Archives - SeventhElement London - Fuelling Your Digital Success","excerpt":""}};
var ElementorProFrontendConfig = {"ajaxurl":"https:\/\/seventhelement.agency\/wp-admin\/admin-ajax.php","nonce":"67dbd4ba8b","urls":{"assets":"https:\/\/seventhelement.agency\/wp-content\/plugins\/elementor-pro\/assets\/","rest":"https:\/\/seventhelement.agency\/wp-json\/"},"settings":{"lazy_load_background_images":true},"popup":{"hasPopUps":true},"shareButtonsNetworks":{"facebook":{"title":"Facebook","has_counter":true},"twitter":{"title":"Twitter"},"linkedin":{"title":"LinkedIn","has_counter":true},"pinterest":{"title":"Pinterest","has_counter":true},"reddit":{"title":"Reddit","has_counter":true},"vk":{"title":"VK","has_counter":true},"odnoklassniki":{"title":"OK","has_counter":true},"tumblr":{"title":"Tumblr"},"digg":{"title":"Digg"},"skype":{"title":"Skype"},"stumbleupon":{"title":"StumbleUpon","has_counter":true},"mix":{"title":"Mix"},"telegram":{"title":"Telegram"},"pocket":{"title":"Pocket","has_counter":true},"xing":{"title":"XING","has_counter":true},"whatsapp":{"title":"WhatsApp"},"email":{"title":"Email"},"print":{"title":"Print"},"x-twitter":{"title":"X"},"threads":{"title":"Threads"}},"facebook_sdk":{"lang":"en_GB","app_id":""},"lottie":{"defaultAnimationUrl":"https:\/\/seventhelement.agency\/wp-content\/plugins\/elementor-pro\/modules\/lottie\/assets\/animations\/default.json"}};
jQuery(document).ready(function($){
let removeTimeout;
$(".e-n-menu-item").hover(
function() {
clearTimeout(removeTimeout); // cancel pending removal if hovering again
$("body").addClass("menu-hover");
},
function() {
removeTimeout = setTimeout(function(){
$("body").removeClass("menu-hover");
}, 1000); // 1 second delay
}
);
});
function animateStats(element) {
let target = parseInt(element.getAttribute('data-target')) || 0;
let fullText = element.getAttribute('data-full') || target;
let count = 0;
let increment = Math.max(1, target / 100);
let interval = setInterval(() => {
count += increment;
if (count >= target) {
clearInterval(interval);
element.textContent = fullText; // parāda pilno tekstu
} else {
element.textContent = Math.round(count);
}
}, 15);
}
// IntersectionObserver — palaid animāciju tikai tad, kad redzams
document.addEventListener('DOMContentLoaded', function() {
let stats = document.querySelectorAll('.stat-number');
let observer = new IntersectionObserver((entries, obs) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
animateStats(entry.target); // palaid animāciju
obs.unobserve(entry.target); // pārstāj vērot (lai nesākas atkārtoti)
}
});
}, { threshold: 0.3 }); // 0.3 nozīmē: redzams vismaz 30%
stats.forEach(stat => observer.observe(stat));
});
/* Default comment here */
document.addEventListener('scroll', function() {
const header = document.querySelector('.primary-header');
if (!header) return;
if (window.scrollY > 50) {
header.classList.add('elementor-sticky--effects', 'sticky-active');
} else {
header.classList.remove('elementor-sticky--effects', 'sticky-active');
}
});
document.addEventListener("DOMContentLoaded", function() {
const links = document.querySelectorAll('.primary-header .e-n-menu a.e-n-menu-title-container');
const currentUrl = window.location.href.split('#')[0]; // noņem enkuru daļu
links.forEach(link => {
if (link.href === currentUrl) {
link.classList.add('is-active');
}
});
});
// document.addEventListener('DOMContentLoaded', function() {
// const toggle = document.querySelector('.lytbox-nav_control');
// const header = document.querySelector('.primary-header');
// if (toggle && header) {
// toggle.addEventListener('change', function() {
// if (this.checked) {
// header.classList.add('menu-open');
// } else {
// header.classList.remove('menu-open');
// }
// });
// } else {
// console.warn('Hamburger vai header netika atrasts!');
// }
// });
document.addEventListener('DOMContentLoaded', function () {
// Ārējais menu – sarkans
document.querySelectorAll(
'.primary-header .e-n-menu .e-n-menu-wrapper .e-n-menu-heading > li > a > span'
).forEach(function (el) {
el.style.setProperty('color', '#fb3914', 'important');
});
// Iekšējais menu – melns
document.querySelectorAll(
'.primary-header .e-n-menu .e-n-menu-wrapper .e-n-menu-heading ul ul li a > span'
).forEach(function (el) {
el.style.setProperty('color', '#000', 'important');
});
});
jQuery(window).on('elementor/frontend/init', function(){
if (document.querySelector('#fullpage')) {
new fullpage('#fullpage', {
licenseKey: 'OPEN-SOURCE-GPLV3-LICENSE',
scrollBar: true,
navigation: true
});
}
});
document.addEventListener('DOMContentLoaded', function() {
const header = document.querySelector('.primary-header');
const logoImg = document.querySelector('.primary-header .elementor-widget-theme-site-logo img');
const submenuItems = document.querySelectorAll('.test-sub-menu'); // Šeit jāieliek tavs īstais submenu selektors
if (!header || !logoImg || submenuItems.length === 0) return;
submenuItems.forEach(item => {
item.addEventListener('mouseenter', () => {
// Ja sticky nav aktivizēts, tad uz laiku piespiežam
if (!header.classList.contains('elementor-sticky--effects') && !header.classList.contains('sticky-active')) {
header.classList.add('sticky-active');
}
});
item.addEventListener('mouseleave', () => {
// Tikai tad noņemam, ja scroll nav pietiekams, lai sticky būtu joprojām
if (window.scrollY <= 50) {
header.classList.remove('sticky-active');
}
});
});
});
/* Default comment here */
function updatePagination() {
const currentPage = pagination.find('.page-numbers.current');
const prevBtn = pagination.find('.page-numbers.prev');
const nextBtn = pagination.find('.page-numbers.next');
const allPages = pagination.find('.page-numbers').not('.prev, .next, .dots');
if (currentPage.length && prevBtn.length && nextBtn.length) {
const currentPageNumber = Number(currentPage.text().trim());
// Hide prev on first page
if (currentPageNumber === 1) {
prevBtn.addClass('hidden');
} else {
prevBtn.removeClass('hidden');
}
// Hide next on last page
if (currentPageNumber === allPages.length) {
nextBtn.addClass('hidden');
} else {
nextBtn.removeClass('hidden');
}
}
}
document.querySelectorAll('.e-filter-item').forEach(btn => {
btn.addEventListener('click', () => {
const cat = btn.getAttribute('data-category');
window.location.href = '?category=' + encodeURIComponent(cat);
});
});
var wpforms_settings = {"val_required":"This field is required.","val_email":"Please enter a valid email address.","val_email_suggestion":"Did you mean {suggestion}?","val_email_suggestion_title":"Click to accept this suggestion.","val_email_restricted":"This email address is not allowed.","val_number":"Please enter a valid number.","val_number_positive":"Please enter a valid positive number.","val_minimum_price":"Amount entered is less than the required minimum.","val_confirm":"Field values do not match.","val_checklimit":"You have exceeded the number of allowed selections: {#}.","val_limit_characters":"{count} of {limit} max characters.","val_limit_words":"{count} of {limit} max words.","val_min":"Please enter a value greater than or equal to {0}.","val_max":"Please enter a value less than or equal to {0}.","val_recaptcha_fail_msg":"Google reCAPTCHA verification failed, please try again later.","val_turnstile_fail_msg":"Cloudflare Turnstile verification failed, please try again later.","val_inputmask_incomplete":"Please fill out the field in required format.","uuid_cookie":"1","locale":"en","country":"","country_list_label":"Country list","wpforms_plugin_url":"https:\/\/seventhelement.agency\/wp-content\/plugins\/wpforms\/","gdpr":"1","ajaxurl":"https:\/\/seventhelement.agency\/wp-admin\/admin-ajax.php","mailcheck_enabled":"1","mailcheck_domains":[],"mailcheck_toplevel_domains":["dev"],"is_ssl":"1","currency_code":"USD","currency_thousands":",","currency_decimals":"2","currency_decimal":".","currency_symbol":"$","currency_symbol_pos":"left","val_requiredpayment":"Payment is required.","val_creditcard":"Please enter a valid credit card number.","css_vars":["field-border-radius","field-border-style","field-border-size","field-background-color","field-border-color","field-text-color","field-menu-color","label-color","label-sublabel-color","label-error-color","button-border-radius","button-border-style","button-border-size","button-background-color","button-border-color","button-text-color","page-break-color","background-image","background-position","background-repeat","background-size","background-width","background-height","background-color","background-url","container-padding","container-border-style","container-border-width","container-border-color","container-border-radius","field-size-input-height","field-size-input-spacing","field-size-font-size","field-size-line-height","field-size-padding-h","field-size-checkbox-size","field-size-sublabel-spacing","field-size-icon-size","label-size-font-size","label-size-line-height","label-size-sublabel-font-size","label-size-sublabel-line-height","button-size-font-size","button-size-height","button-size-padding-h","button-size-margin-top","container-shadow-size-box-shadow"],"val_post_max_size":"The total size of the selected files {totalSize} MB exceeds the allowed limit {maxSize} MB.","val_time12h":"Please enter time in 12-hour AM\/PM format (eg 8:45 AM).","val_time24h":"Please enter time in 24-hour format (eg 22:45).","val_time_limit":"Please enter time between {minTime} and {maxTime}.","val_url":"Please enter a valid URL.","val_fileextension":"File type is not allowed.","val_filesize":"File exceeds max size allowed. File was not uploaded.","post_max_size":"67108864","isModernMarkupEnabled":"1","formErrorMessagePrefix":"Form error message","errorMessagePrefix":"Error message","submitBtnDisabled":"Submit button is disabled during form submission.","error_updating_token":"Error updating token. Please try again or contact support if the issue persists.","network_error":"Network error or server is unreachable. Check your connection or try again later.","token_cache_lifetime":"86400","hn_data":{"8540":7,"8552":2,"12451":1},"address_field":{"list_countries_without_states":["GB","DE","CH","NL"]},"val_phone":"Please enter a valid phone number.","val_password_strength":"A stronger password is required. Consider using upper and lower case letters, numbers, and symbols.","entry_preview_iframe_styles":["https:\/\/seventhelement.agency\/wp-includes\/js\/tinymce\/skins\/lightgray\/content.min.css?ver=6.8.2","https:\/\/seventhelement.agency\/wp-includes\/css\/dashicons.min.css?ver=6.8.2","https:\/\/seventhelement.agency\/wp-includes\/js\/tinymce\/skins\/wordpress\/wp-content.css?ver=6.8.2","https:\/\/seventhelement.agency\/wp-content\/plugins\/wpforms\/assets\/pro\/css\/fields\/richtext\/editor-content.min.css"],"indicatorStepsPattern":"Step {current} of {total}"}