Top 10 Benefits of Instagram for Business

Top 10 Benefits of Instagram for Business

[]
0;if(r&&Z(i,”overflow”)!=”visible”){a=i.getBoundingClientRect();r=C>a.left&&pa.top-1&&g500?500:370:H.expand;k._defEx=u;f=u*H.expFactor;c=H.hFac;A=null;if(w2&&h>2&&!D.hidden){w=f;N=0}else if(h>1&&N>1&&M<6){w=u}else{w=_}}if(l!==n){y=innerWidth+n*c;z=innerHeight+n;s=n*-1;l=n}a=d[t].getBoundingClientRect();if((b=a.bottom)>=s&&(g=a.top)=s*c&&(p=a.left)9){break}}else if(!r&&m&&!i&&M<4&&N<4&&h>2&&(v[0]||H.preloadAfterLoad)&&(v[0]||!o&&(b||C||p||g||d[t][$](H.sizesAttr)!=”auto”))){i=v[0]||d[t]}}if(i&&!r){R(i)}}};var a=ae(t);var S=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}L(e);K(t,H.loadedClass);Q(t,H.loadingClass);V(t,B);X(t,”lazyloaded”)};var i=te(S);var B=function(e){i({target:e.target})};var T=function(e,t){var a=e.getAttribute(“data-load-mode”)||H.iframeLoadMode;if(a==0){e.contentWindow.location.replace(t)}else if(a==1){e.src=t}};var F=function(e){var t;var a=e[$](H.srcsetAttr);if(t=H.customMedia[e[$](“data-media”)||e[$](“media”)]){e.setAttribute(“media”,t)}if(a){e.setAttribute(“srcset”,a)}};var s=te(function(t,e,a,i,r){var n,s,o,l,u,f;if(!(u=X(t,”lazybeforeunveil”,e)).defaultPrevented){if(i){if(a){K(t,H.autosizesClass)}else{t.setAttribute(“sizes”,i)}}s=t[$](H.srcsetAttr);n=t[$](H.srcAttr);if(r){o=t.parentNode;l=o&&j.test(o.nodeName||””)}f=e.firesLoad||”src”in t&&(s||n||l);u={target:t};K(t,H.loadingClass);if(f){clearTimeout(c);c=I(L,2500);V(t,B,true)}if(l){G.call(o.getElementsByTagName(“source”),F)}if(s){t.setAttribute(“srcset”,s)}else if(n&&!l){if(d.test(t.nodeName)){T(t,n)}else{t.src=n}}if(r&&(s||l)){Y(t,{src:n})}}if(t._lazyRace){delete t._lazyRace}Q(t,H.lazyClass);ee(function(){var e=t.complete&&t.naturalWidth>1;if(!f||e){if(e){K(t,H.fastLoadedClass)}S(u);t._lazyCache=true;I(function(){if(“_lazyCache”in t){delete t._lazyCache}},9)}if(t.loading==”lazy”){M–}},true)});var R=function(e){if(e._lazyRace){return}var t;var a=n.test(e.nodeName);var i=a&&(e[$](H.sizesAttr)||e[$](“sizes”));var r=i==”auto”;if((r||!m)&&a&&(e[$](“src”)||e.srcset)&&!e.complete&&!J(e,H.errorClass)&&J(e,H.lazyClass)){return}t=X(e,”lazyunveilread”).detail;if(r){re.updateElem(e,true,e.offsetWidth)}e._lazyRace=true;M++;s(e,t,r,i,a)};var r=ie(function(){H.loadMode=3;a()});var o=function(){if(H.loadMode==3){H.loadMode=2}r()};var l=function(){if(m){return}if(f.now()-e<999){I(l,999);return}m=true;H.loadMode=3;a();q("scroll",o,true)};return{_:function(){e=f.now();k.elements=D.getElementsByClassName(H.lazyClass);v=D.getElementsByClassName(H.lazyClass+" "+H.preloadClass);q("scroll",a,true);q("resize",a,true);q("pageshow",function(e){if(e.persisted){var t=D.querySelectorAll("."+H.loadingClass);if(t.length&&t.forEach){U(function(){t.forEach(function(e){if(e.complete){R(e)}})})}}});if(u.MutationObserver){new MutationObserver(a).observe(O,{childList:true,subtree:true,attributes:true})}else{O[P]("DOMNodeInserted",a,true);O[P]("DOMAttrModified",a,true);setInterval(a,999)}q("hashchange",a,true);["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){D[P](e,a,true)});if(/d$|^c/.test(D.readyState)){l()}else{q("load",l);D[P]("DOMContentLoaded",a);I(l,2e4)}if(k.elements.length){t();ee._lsFlush()}else{a()}},checkElems:a,unveil:R,_aLSL:o}}(),re=function(){var a;var n=te(function(e,t,a,i){var r,n,s;e._lazysizesWidth=i;i+="px";e.setAttribute("sizes",i);if(j.test(t.nodeName||"")){r=t.getElementsByTagName("source");for(n=0,s=r.length;n 0){ // Run lazyscript wordkeeperSpeed.lazyloadScriptItem(wordkeeperSpeed.scriptQueue[0]); } else{ wordkeeperSpeed.documentState.push(‘lazyScriptsLoaded’); } } // Delay the process of loading the lazyload later variety of lazyscript if the page is not ready for it else{ setTimeout(function(){ wordkeeperSpeed.processLazyScripts(true); },2); } } } // Lazyload a single script item wordkeeperSpeed.lazyloadScriptItem = function(source){ let script = document.createElement(‘script’); let banAttributes = [‘src’, ‘data-id’, ‘id’, ‘type’, ‘data-lazyload-later’]; script.type = ‘text/javascript’; // Add any missing attributes from the source script to the replacement script Array.prototype.slice.call(source.attributes).forEach(function(att){ if(banAttributes.indexOf(att.nodeName) == -1){ script.setAttribute(att.nodeName, att.textContent); } }); // Add the id back to the element if(source.hasAttribute(‘data-id’)){ script.id = source.getAttribute(‘data-id’); script.removeAttribute(‘data-id’); } // Remove references to data-lazyload-later since we’re keeping the source element if(source.hasAttribute(‘data-lazyload-later’)){ source.removeAttribute(‘data-lazyload-later’); } // Add the element to the DOM, then define onload, then define the src // Must be done in that order to work across browsers source.parentNode.replaceChild(script, source); script.onload = function(e){ // Maintain the correct index order of the current script wordkeeperSpeed.scriptQueueIndex++; if(wordkeeperSpeed.scriptQueueIndex < wordkeeperSpeed.scriptQueue.length){ wordkeeperSpeed.lazyloadScriptItem(wordkeeperSpeed.scriptQueue[wordkeeperSpeed.scriptQueueIndex]); } // If all lazyscripts of this type are loaded, reset else if(wordkeeperSpeed.scriptQueueIndex == wordkeeperSpeed.scriptQueue.length){ wordkeeperSpeed.scriptQueueIndex = 0; wordkeeperSpeed.scriptQueue = []; // If loading the page load variety of lazyscript and we haven't triggered // load events trigger them now if(wordkeeperSpeed.documentState.indexOf('scriptsLoaded') == -1){ wordkeeperSpeed.readyState = 'complete'; wordkeeperSpeed.documentState.push('scriptsLoaded'); wordkeeperSpeed.documentState.push('complete'); wordkeeperSpeed.scriptLater = true; document.querySelectorAll('[data-critical-css]').forEach(function(critical){ critical.remove(); }); if(wordkeeperSpeed.elementor == true){ window.addEventListener('load', wordkeeperSpeed.processElementor()); } document.dispatchEvent(new Event('DOMContentLoaded', {'cancelable': false, 'bubbles': true})); document.dispatchEvent(new Event('load', {'cancelable': false, 'bubbles': true})); } else{ document.querySelectorAll('[data-critical-css-later]').forEach(function(critical){ critical.remove(); }); wordkeeperSpeed.documentState.push('lazyScriptsLoaded'); } } }; // Add the script as either a src or an inline script that has been converted to a data URL for the src if (source.hasAttribute('src')) { script.src = source.src; } else{ let srcBlob = new Blob([ source.textContent ], { type: 'text/javascript' }); script.src = window.URL.createObjectURL(srcBlob); } } // Run lazyload later and remove event listeners for it wordkeeperSpeed.lazyLoadLater = function(){ wordkeeperSpeed.processLazyStyles(true); wordkeeperSpeed.processLazyScripts(true); for (let i = 0; i = 0 && rect.left >= 0 && rect.bottom <= wordkeeperSpeed.boundingWindow.height && rect.right longest){ matched = true; final = index; longest = background.media.length; } } }); if(matched){ elem.style.backgroundImage = backgrounds[final].value; elem.classList.remove('lazyloaded'); elem.classList.add('lazyload'); } } } }); }; // Process lazyload videos for proper sizing and click behavior wordkeeperSpeed.processVideos = function(elements = false){ let videoQueue = []; if(elements != false){ videoQueue = elements; } else{ videoQueue = wordkeeperSpeed.videos; } videoQueue.forEach(function(item, index){ let itemCss = window.getComputedStyle(item); if(itemCss.getPropertyValue('float') == 'left' || itemCss.getPropertyValue('float') == 'right') { if(itemCss.getPropertyValue('max-width') != '') { item.style.width = itemCss.getPropertyValue('max-width'); } else if(itemCss.getPropertyValue('min-width') != '') { item.style.width = itemCss.getPropertyValue('min-width'); } } // Adjust the display window and compatibility with WP Bakery Video Player let itemWidth = item.offsetWidth; let itemHeight = 0.5625 * itemWidth; // Account for situations where the width is zero if(itemWidth == 0){ item.style.width = '100%'; itemWidth = item.offsetWidth; // Hidden item if(itemWidth == 0){ if(item.hasAttribute('data-width')){ item.style.width = parseInt(item.getAttribute('data-width')) + 'px'; itemWidth = parseInt(item.getAttribute('data-width')); } else if(item.hasAttribute('data-height')){ item.style.width = (parseInt(item.getAttribute('data-height')) / 0.5625) + 'px'; itemWidth = (parseInt(item.getAttribute('data-height')) / 0.5625); } } itemHeight = 0.5625 * itemWidth; } if(itemCss.getPropertyValue('min-height').indexOf('px') != -1 && parseInt(itemCss.getPropertyValue('min-height')) > itemHeight){ item.style.minHeight = itemHeight + ‘px’; } item.style.height = itemHeight + ‘px’; // Fix height when native video height is not the right aspect ratio if((item.offsetHeight / item.offsetWidth) = 0 && rect.left >= 0 && rect.bottom <= wordkeeperSpeed.boundingWindow.height && rect.right = 0 && rect.left >= 0 && rect.bottom <= wordkeeperSpeed.boundingWindow.height && rect.right = 0 && rect.left >= 0 && rect.top <= wordkeeperSpeed.boundingWindow.height && rect.left longest){ matched = true; final = index; longest = background.media.length; } } }); if(matched){ elem.style.backgroundImage = backgrounds[final].value; } } } if(elem.classList.contains('elementor-invisible')){ elem.classList.remove('elementor-invisible'); elem.classList.add(elem.getAttribute('data-animation')); } }); // Determine scroll state if(document.documentElement.scrollTop > 40){ wordkeeperSpeed.documentState.push(‘scrolled’); wordkeeperSpeed.images.forEach(function(item, index){ lazySizes.loader.unveil(item); }); } else{ document.addEventListener(‘scroll’, function(e){ wordkeeperSpeed.documentState.push(‘scrolled’); wordkeeperSpeed.images.forEach(function(item, index){ lazySizes.loader.unveil(item); }); }, {once: true}); } // Iterate over videos and set maxwidth for Vimeo videos (if any) // Video thumbnails currently have an index of 2 wordkeeperSpeed.assets[2].assets.forEach(function(url, index){ if(wordkeeperSpeed.assets[2].assets.length > 0){ if(url.indexOf(‘vimeo’) != -1){ wordkeeperSpeed.assets[2].assets[index] = wordkeeperSpeed.assets[2].assets[index] + (2 * screen.availWidth); } } }); // Iterate over the asset list and push each type of asset to the worker to load in the background wordkeeperSpeed.assets.forEach(function(assetGroup, index){ if(assetGroup.assets.length > 0){ // Spawn a new worker per asset group wordkeeperSpeed.workers[index] = new Worker(window.URL.createObjectURL(wordkeeperSpeed.workerBlob)); // Trigger proper follow up events after each asset type is fully loaded wordkeeperSpeed.workers[index].onmessage = function(e) { let data = JSON.parse(e.data); switch(data.type){ case ‘styles’: case ‘scripts’: case ‘lazyStyles’: case ‘lazyScripts’: window.dispatchEvent(new Event(‘wordkeeper’ + data.type[0].toUpperCase() + data.type.slice(1) + ‘Ready’)); e.target.terminate(); break; case ‘thumbnails’: wordkeeperSpeed.processVideoThumbnail(data); break; case ‘widgets’: wordkeeperSpeed.processWidget(data); break; default: break; } }; wordkeeperSpeed.workers[index].postMessage(JSON.stringify(assetGroup)); } else{ window.dispatchEvent(new Event(‘wordkeeper’ + assetGroup.type[0].toUpperCase() + assetGroup.type.slice(1) + ‘Ready’)); } }); // Override default document state to prevent early “ready” fires Object.defineProperty(document, ‘readyState’, { get: function() { return wordkeeperSpeed.readyState }, set: function() {} }); // Stop the original DOMContentLoaded event from firing so we can trigger our own later window.addEventListener(‘DOMContentLoaded’, function(e){ e.preventDefault(); e.stopImmediatePropagation(); // Load up relevant elements for processing wordkeeperSpeed.styles = document.querySelectorAll(‘[type=”text/lazycss”]:not([data-lazyload-later])’); wordkeeperSpeed.scripts = document.querySelectorAll(‘script[type=”text/lazyscript”]:not([data-lazyload-later])’); wordkeeperSpeed.lazyStyles = document.querySelectorAll(‘[type=”text/lazycss”][data-lazyload-later]’); wordkeeperSpeed.lazyScripts = document.querySelectorAll(‘script[type=”text/lazyscript”][data-lazyload-later]’); wordkeeperSpeed.videos = document.querySelectorAll(‘.wordkeeper-video’); wordkeeperSpeed.documentState.push(‘ready’); // Process backgrounds if(wordkeeperSpeed.backgrounds.length > 0){ wordkeeperSpeed.processBackgrounds(); } // Process videos if(wordkeeperSpeed.videos.length > 0){ wordkeeperSpeed.processVideos(); } }, {once: true}); // Stop the original load event from firing so we can trigger our own later window.addEventListener(‘load’, function(e){ e.preventDefault(); e.stopImmediatePropagation(); wordkeeperSpeed.documentState.push(‘loaded’); if(document.documentElement.scrollTop > 40){ wordkeeperSpeed.lazyLoadLater(); } else{ for (let i = 0; i 0) { // element added to DOM [].some.call(mutation.addedNodes, function(el) { if(el.querySelectorAll(‘.wordkeeper-video’).length > 0){ let videos = []; console.log(el); el.querySelectorAll(‘.wordkeeper-video’).forEach(function(item, index){ videos[index] = document.querySelector(‘.wordkeeper-video[data-embed=’ + el.querySelector(‘.wordkeeper-video’).getAttribute(‘data-embed’) + ‘]’); }); wordkeeperSpeed.processVideos(videos); } }); } }); }); observer.observe(document.body, {childList: true});*/ }, {once: true});]]>Top 10 Benefits of Instagram for Business – LYFE Marketingbody .vc_ui-dropdown .vc_ui-list-bar-item,body .vc_ui-panel .vc_panel-tabs>.vc_edit-form-tab.vc_active,body .vc_ui-panel.vc_active,body .vc_ui-prompt-content{display:block}body .vc_row.vc_row-o-content-middle{display:block}body .vc_ui-panel .vc_ui-panel-content-container{max-height:50vh!important}body [data-vc-template-search=true] .vc_edit-form-tab{display:block!important}body [data-vc-template-search=true] .vc_edit-form-tab.vc-search-result-empty{display:none!important}body .vc_edit_form_elements .vc_row,body .vc_tta-tabs.vc_tta-tabs-position-left,body .vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-panels-container,body .vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tabs-container,body .vc_tta-tabs.vc_tta-tabs-position-right,body .vc_tta-tabs.vc_tta-tabs-position-right .vc_tta-panels-container,body .vc_tta-tabs.vc_tta-tabs-position-right .vc_tta-tabs-container,body .vc_ui-panel-header .vc_ui-panel-header-header,body .vc_ui-panel-window-inner{display:block}.vc_non_responsive body .vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tabs-container,.vc_tta-o-non-responsive body .vc_tta-tabs.vc_tta-tabs-position-left .vc_tta-tabs-container{display:block}.vc_non_responsive body .vc_tta-tabs.vc_tta-tabs-position-right .vc_tta-tabs-container,.vc_tta-o-non-responsive body .vc_tta-tabs.vc_tta-tabs-position-right .vc_tta-tabs-container{display:block}.vc_separator{display:table}.vc_separator h4{display:table-cell;white-space:pre;vertical-align:middle}.vc_separator .vc_sep_holder{display:table-cell;vertical-align:middle;width:50%}.vc_separator.vc_separator_align_left .vc_sep_holder,.vc_separator.vc_separator_align_right .vc_sep_holder{width:100%} Sending PageView event to Facebook’);fbq(‘track’,”PageView”);var fbqEvents=new Array()]]> Digital Marketing Blog boxtf_pos){if(scroll_bot_pos>bottoms_conts){$(‘#sidebar-fix’).removeClass(‘c-fixed-element’)}else{$(‘#sidebar-fix’).addClass(‘c-fixed-element’);$(‘#sidebar-fix’).css({“top”:” “+topss+”px”});console.log(topss)}}else{$(‘#sidebar-fix’).removeClass(‘c-fixed-element’)} if(scroll>lastScrollTop){topss–}else{topss++} lastScrollTop=scroll})}})]]> “);jQuery.ajax({type:”post”,url:ajax_var.url,data:”action=jm-post-like&nonce=”+ajax_var.nonce+”&jm_post_like=&post_id=”+post_id,success:function(count){if(count.indexOf(“already”)!==-1){var lecount=count.replace(“already”,””);heart.prop(‘title’,’Like’);heart.removeClass(“liked”);heart.html(“ “+lecount)}else{heart.prop(‘title’,’Unlike’);heart.addClass(“liked”);heart.html(“ “+count)}}})})})]]> 0){ $(‘#exit-intent-popup-back’).fadeIn(); } }); $(‘#exit-intent-popup-close-btn’).click(function(){ $(‘#exit-intent-popup-back’).fadeOut(); cclose–; }); });]]> 0){ $(‘#exit-intent-popup-back’).fadeIn(); } }); $(‘#exit-intent-popup-close-btn’).click(function(){ $(‘#exit-intent-popup-back’).fadeOut(); cclose–; }); });]]>

Source

Leave a Reply

Close Menu
×
×

Cart