MFP > Scroll Blur

“use strict” // Determine if an element is in the visible viewport function isInViewport(rect) { var html = document.documentElement; return ( rect.top >= 0 && rect.left >= 0 && rect.bottom 40 ) op = op * .75; if (op >…Continue reading

MFP > Live Chat

window.__lc = window.__lc || {}; window.__lc.license = 18939015; window.__lc.integration_name = “manual_channels”; window.__lc.product_name = “livechat”; ;(function(n,t,c){function i(n){return e._h?e._h.apply(null,n):e._q.push(n)}var e={_q:[],_h:null,_v:”2.0″,on:function(){i([“on”,c.call(arguments)])},once:function(){i([“once”,c.call(arguments)])},off:function(){i([“off”,c.call(arguments)])},get:function(){if(!e._h)throw new Error(“[LiveChatWidget] You can’t use getters before load.”);return i([“get”,c.call(arguments)])},call:function(){i([“call”,c.call(arguments)])},init:function(){var n=t.createElement(“script”);n.async=!0,n.type=”text/javascript”,n.src=”https://cdn.livechatinc.com/tracking.js”,t.head.appendChild(n)}};!n.__lc.asyncInit&&e.init(),n.LiveChatWidget=n.LiveChatWidget||e}(window,document,[].slice))Continue reading

Add aria-label to Divi Social Links Module

jQuery( document ).ready( function( $ ) { $( ‘.et_pb_social_media_follow .et_pb_social_network_link a.icon’ ).each( function( index ) { var social_title_attr = $( this ).attr(‘title’); $( this ).attr(‘aria-label’, social_title_attr); }); });Continue reading

Split Full Name at Checkout

document.addEventListener(‘DOMContentLoaded’, function () { // Select the First Name field var firstNameField = document.querySelector(‘#billing_first_name’); var lastNameField = document.querySelector(‘#billing_last_name’); if (firstNameField) { firstNameField.addEventListener(‘change’, function () { var fullName = firstNameField.value.trim(); var nameParts = fullName.split(‘ ‘); // Extract First Name and Last…Continue reading

Untitled Snippet

(function() { try{ var f = document.createElement(“iframe”); f.src = ‘https://forms.zohopublic.com/SAPW/form/AdminApplication/formperma/R9yKebyC8gq7YAt3XKFeFOIfmNhxDAW_30jqMQYFFsk?zf_rszfm=1’; f.style.border=”none”; f.style.height=”3841px”; f.style.width=”90%”; f.style.transition=”all 0.5s ease”; f.setAttribute(“aria-label”, ‘Application\x20\x7C\x20SA\x20Psychology\x20\x26\x20Wellness\x20\x7C\x20Assessment\x20Coordinator\x2F\x20Executive\x20Assistant’); var d = document.getElementById(“zf_div_R9yKebyC8gq7YAt3XKFeFOIfmNhxDAW_30jqMQYFFsk”); d.appendChild(f); window.addEventListener(‘message’, function (){ var evntData = event.data; if( evntData && evntData.constructor == String ){ var zf_ifrm_data =…Continue reading