-
Search Results
-
Topic: Help required on html
Morning,
Yesterday I made the following site live for my client http://www.events-intelligence.com/
He has now come back to me with a list of html queries that I really don’t understand. (see attached) I build WP website but I am not a developer which is why i love using Enfold for my sites.
Could you help me sort out his requests? I have dealt with the “build site” issue but not surew about RSS and all the other queries.I look forward to hearing form you shortly
Kimhe has sent me this
Can we delete the references to build site in the HTML header, tidy up the RSS (there is none), and delete the comments about theme (assume these are unnecessary, and provide attack vectors),Also why is there API access to the site (https://www.events-intelligence.com/wp-json/) spits back a JSON file
Can you also delete the author/admin page – the API’s refer to an obsolete part of the site – e.g. if you issue a GET to the following URL https://www.events-intelligence.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.events-intelligence.com%2F you get the following link back amongst all the other bumpf – https://www.events-intelligence.com/author/admin/. Please delete this and other unused pages.
html as follows:
<head>
<meta charset=”UTF-8″>
<meta name=”robots” content=”index, follow”><!– mobile setting –>
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″><!– Scripts/CSS and wp_head hook –>
<title>A Build Site: Events Intelligence – Growing exhibitions through data</title>
<link rel=”dns-prefetch” href=”//s.w.org”>
<link rel=”alternate” type=”application/rss+xml” title=”A Build Site: Events Intelligence » Feed” href=”https://www.events-intelligence.com/feed/”>
<link rel=”alternate” type=”application/rss+xml” title=”A Build Site: Events Intelligence » Comments Feed” href=”https://www.events-intelligence.com/comments/feed/”>
<link rel=”alternate” type=”application/rss+xml” title=”A Build Site: Events Intelligence » Home Comments Feed” href=”https://www.events-intelligence.com/home-2/feed/”><!– google webfont font replacement –>
<script type=”text/javascript” async=”” src=”https://www.google-analytics.com/analytics.js”></script><script type=”text/javascript”>
if(!document.cookie.match(/aviaPrivacyGoogleWebfontsDisabled/)){
(function() {
var f = document.createElement(‘link’);f.type = ‘text/css’;
f.rel = ‘stylesheet’;
f.href = ‘//fonts.googleapis.com/css?family=Lato:300,400,700%7COswald’;
f.id = ‘avia-google-webfont’;document.getElementsByTagName(‘head’)[0].appendChild(f);
})();
}
</script><link type=”text/css” rel=”stylesheet” href=”//fonts.googleapis.com/css?family=Lato:300,400,700%7COswald” id=”avia-google-webfont”>
<script type=”text/javascript”>
window._wpemojiSettings = {“baseUrl”:”https:\/\/s.w.org\/images\/core\/emoji\/11\/72×72\/”,”ext”:”.png”,”svgUrl”:”https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/”,”svgExt”:”.svg”,”source”:{“concatemoji”:”https:\/\/www.events-intelligence.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.8″}};
!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline=”top”,l.font=”600 32px Arial”,a){case”flag”:return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case”emoji”:return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement(“script”);c.src=a,c.defer=c.type=”text/javascript”,b.getElementsByTagName(“head”)[0].appendChild(c)}var g,h,i,j,k=b.createElement(“canvas”),l=k.getContext&&k.getContext(“2d”);for(j=Array(“flag”,”emoji”),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],”flag”!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener(“DOMContentLoaded”,h,!1),a.addEventListener(“load”,h,!1)):(a.attachEvent(“onload”,h),b.attachEvent(“onreadystatechange”,function(){“complete”===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
</script><script src=”https://www.events-intelligence.com/wp-includes/js/wp-emoji-release.min.js?ver=4.9.8″ type=”text/javascript” defer=””></script>
<style type=”text/css”>
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<link rel=”stylesheet” id=”avia-merged-styles-css” href=”https://www.events-intelligence.com/wp-content/uploads/dynamic_avia/avia-merged-styles-c14a0af1d687c05c1dcc32792cc2249f.css” type=”text/css” media=”all”>
<script type=”text/javascript” src=”https://www.events-intelligence.com/wp-includes/js/jquery/jquery.js?ver=1.12.4″></script>
<script type=”text/javascript” src=”https://www.events-intelligence.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1″></script>
<link rel=”https://api.w.org/” href=”https://www.events-intelligence.com/wp-json/”>
<link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”https://www.events-intelligence.com/xmlrpc.php?rsd”>
<link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”https://www.events-intelligence.com/wp-includes/wlwmanifest.xml”>
<meta name=”generator” content=”WordPress 4.9.8″>
<link rel=”canonical” href=”https://www.events-intelligence.com/”>
<link rel=”shortlink” href=”https://www.events-intelligence.com/”>
<link rel=”alternate” type=”application/json+oembed” href=”https://www.events-intelligence.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.events-intelligence.com%2F”>
<link rel=”alternate” type=”text/xml+oembed” href=”https://www.events-intelligence.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.events-intelligence.com%2F&format=xml”>
<!– Global site tag (gtag.js) – Google Analytics –>
<script async=”” src=”https://www.googletagmanager.com/gtag/js?id=UA-28528641-10″></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());gtag(‘config’, ‘UA-28528641-10′);
</script><link rel=”profile” href=”http://gmpg.org/xfn/11″>
<link rel=”alternate” type=”application/rss+xml” title=”A Build Site: Events Intelligence RSS2 Feed” href=”https://www.events-intelligence.com/feed/”>
<link rel=”pingback” href=”https://www.events-intelligence.com/xmlrpc.php”>
<!–[if lt IE 9]><script src=”https://www.events-intelligence.com/wp-content/themes/enfold/js/html5shiv.js”></script><![endif]–>
<link rel=”icon” href=”http://www.events-intelligence.com/wp-content/uploads/2018/09/ei-16×16.png” type=”image/png”>
<style type=”text/css”>.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style><!– To speed up the rendering and to display the site as fast as possible to the user we include some styles and scripts for above the fold content inline –>
<script type=”text/javascript”>’use strict’;var avia_is_mobile=!1;if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&’ontouchstart’ in document.documentElement){avia_is_mobile=!0;document.documentElement.className+=’ avia_mobile ‘}
else{document.documentElement.className+=’ avia_desktop ‘};document.documentElement.className+=’ js_active ‘;(function(){var e=[‘-webkit-‘,’-moz-‘,’-ms-‘,”],n=”;for(var t in e){if(e[t]+’transform’ in document.documentElement.style){document.documentElement.className+=’ avia_transform ‘;n=e[t]+’transform’};if(e[t]+’perspective’ in document.documentElement.style)document.documentElement.className+=’ avia_transform3d ‘};if(typeof document.getElementsByClassName==’function’&&typeof document.documentElement.getBoundingClientRect==’function’&&avia_is_mobile==!1){if(n&&window.innerHeight>0){setTimeout(function(){var e=0,o={},a=0,t=document.getElementsByClassName(‘av-parallax’),i=window.pageYOffset||document.documentElement.scrollTop;for(e=0;e<t.length;e++){t[e].style.top=’0px’;o=t[e].getBoundingClientRect();a=Math.ceil((window.innerHeight+i-o.top)*0.3);t[e].style[n]=’translate(0px, ‘+a+’px)’;t[e].style.top=’auto’;t[e].className+=’ enabled-parallax ‘}},50)}}})();</script><style type=”text/css”>
@font-face {font-family: ‘entypo-fontello’; font-weight: normal; font-style: normal;
src: url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot’);
src: url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot?#iefix’) format(’embedded-opentype’),
url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.woff’) format(‘woff’),
url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.ttf’) format(‘truetype’),
url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.svg#entypo-fontello’) format(‘svg’);
} #top .avia-font-entypo-fontello, body .avia-font-entypo-fontello, html body [data-av_iconfont=’entypo-fontello’]:before{ font-family: ‘entypo-fontello’; }
</style><!–
Debugging Info for Theme support:Theme: Enfold
Version: 4.4.1
Installed: enfold
AviaFramework Version: 4.7
AviaBuilder Version: 0.9.5
aviaElementManager Version: 1.0.1
ML:256-PU:42-PLA:5
WP:4.9.8
Compress: CSS:all theme files – JS:all theme files
Updates: disabled
PLAu:5
–>
</head>Hi,
I have this bit of code that I found on your forum which opens up a lightbox containing a Gravity Form:
The JS:function add_custom_script(){ ?> <script type="text/javascript"> jQuery(window).load(function(){ jQuery('.open-popup-link').magnificPopup({ type:'inline', midClick: true }); }); </script> <?php } add_action('wp_footer', 'add_custom_script');The HTML:
<a href="#popup1" class="open-popup-link">Click this button to open form in lightbox-FORM1</a> <div id="popup1" class="white-popup mfp-hide"> [gravityform id=1 title=false description=false ajax=true] </div>The CSS:
.white-popup { position: relative; background: #fff; padding: 20px; width: auto; max-width: 50vw; margin: 20px auto; }It works perfectly except for the fact that as the lightbox is opened, the whole page scrolls up a bit. I think this is due to the sticky header. When I turn off the sticky header, then it doesn’t scroll up at all.
If you look half way down the page you will see an image with caption “FOR THE ARCHITECT”. Below that in grey text (Click this button to open form in lightbox-FORM1) is the link to open the lightobx.
I tried to sort it out using CSS but haven’t managed to fix it. Maybe it needs a small bit of JS; not sure. (I don’t know any JS unfortunately.)
Please could you kindly assist.
Thank you.
I’m having an issue with making the submenu sticky. So far I’ve managed to make it sticky by applying the following quick css code:
@media only screen and (max-width: 767px) {
.responsive #top .header-scrolled-full .av-submenu-container {
top: 0 !important;
position: fixed !important;
height: auto;
min-height: 0;
margin-bottom: -1px;
}#overview {
margin-top: 10px;
}
}However in addition, I had to change a line of code in the parent theme at config-templatebuilder –> avia-shortcodes –> menu –> menu.css
In particular, I had to remove the !important in line 60:
@media only screen and (max-width: 767px)
{
.responsive #top .sticky_placeholder{max-height:0px; }
.responsive #top .av-submenu-container{top: auto!important; position: relative!important; height:auto; min-height:0; margin-bottom: -1px;}First question I have is whether there’s a way to apply the change in the child theme instead of the parent theme as this will make updates simpler.
The second question I have is about closing the submenu automatically upon clicking an item on the submenu.
We’re referring to this link.For a clearer example of what we mean:

https://staging.equinetacademy.com/wp-content/uploads/Capture.jpgAppreciate any advice on this matter. Thanks!
Hello,
I am having some issues with the tab section of the builder.
The actual tab content is fine, however the tab title area is causing some problems.
(Attached in the private area I have linked some screen shots to help visualise what is happening).At desktop view, the tab title container is holding 6 items, each equally apart with some text. however I needed the content of these tab titles to be larger than what the standard size is of a tab title. However the container is not growing to fit the content. I have adjusted the css in multiple different ways to help this, however one fix causes issues with something else, i.e forcing the tab title to have a larger width causes problems with the scrolling feature on smaller devices.
Effectively, I need these tab titles to work as they would be default however automatically allowing the content of the titles to be large or small and still retaining an equal margin between one another as keeping a scroll on smaller devices.
A link attached in the private area can be found directly to the page I mentioned.
Thank you
Hello! Hope you’re doing well. Thanks as always for an amazing theme.
On our site for the mobile menu I am not really able to scroll up or down.
I’ve tried several other solutions posted in the help forums such as:
#mobile-advanced { overflow:auto!important; }and
#wrap_all { overflow-y: scroll; }and
.show_mobile_menu #mobile-advanced { overflow-y: scroll; }and
@media only screen and (max-width: 767px) { .boxed #wrap_all { overflow: hidden; /*needed for mobile menu scrolling */ } }and
@media only screen and (max-width: 767px) { #wrap_all {overflow: hidden !important; /*needed for mobile menu scrolling */} }As well as updating to enfold 4.4 and so far nothing has worked.
I also tried switching to the various mobile menu layout options.
(just sharing those so you know what I’ve tried so far)
Any ideas?
Thanks so much!Topic: Submenu URL
Hi,
Could you please advise why my product listing URL always open up the page but right away scroll to submenu section?
Example: I click on one of the product listing which open up the page on https://www.xxx.com/product/3d2n-mt-papandayan/. It does open to that page however the url automatically changed by itself to https://www.xxx.com/product/3d2n-mt-papandayan/#itinerary.
Which means it skips the top page and scroll to #itinerary section instead.
Any setting that I did wrong? Please advise.Thank you
Hello,
while inserting a few amazon product codes via iframe I noticed that the iframes did not work after the page has been saved a second time. The original amazon code looks like this:iframe style="width: 120px; height: 240px;" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=US&source=ac&ref=tf_til&ad_type=product_link&tracking_id=bzhealthymama-20&marketplace=amazon®ion=US&placement=B00AQFGL3O&asins=B00AQFGL3O&linkId=445f99cfce63a9b5644914b45cd44be8&show_border=false&link_opens_in_new_window=false&price_color=333333&title_color=0066c0&bg_color=ffffff" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"> </iframe>When the page is saved a second time the code gets broken and loos like this:
<iframe style="width: 120px; height: 240px;" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=US&source=ac&ref=tf_til&ad_type=product_link&tracking_id=bzhealthymama-20&marketplace=amazon®ion=US&placement=B00AQFGL3O&asins=B00AQFGL3O&linkId=445f99cfce63a9b5644914b45cd44be8&show_border=false&link_opens_in_new_window=false&price_color=333333&title_color=0066c0&bg_color=ffffff" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"> </iframe>The part of the iframe that says
amazon®ion=US
gets chnaged after the second saving of the page to:
amazon®ion=US
and that does of course not work.
This happens only with the Enfold Page Builder not if I use the standard WordPress builder.
What can I do to avoid that automatic code change?
Hello,
i was embeding an html code from just answers (https://www.justanswer.com) for a question window.
I used the code block element – after refresh the backend all layout elements was deleted.
Do you have any experience with (https://www.justanswer.com) or do you know another way to embed the html with no risk?
Here ist de code – maybe it helps:
<div style=”position:relative;margin:auto;cursor:default;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;width:300px;height:250px;overflow:hidden;background-image:url(http://gadgets.justanswer.com/ja/assets/2015gadget_BG.jpg);”><div id=”headline__justanswer__” style=”position:absolute;left:14px;top:10px;width:272px;height:32px;font-family:Arial Black,sans-serif;color:#ffffff;line-height:110%;text-align:left;”>Fragen Sie jetzt einen Arzt</div><div id=”tagline__justanswer__” style=”position:absolute;left:14px;top:40px;width:272px;height:48px;font-family:Arial,sans-serif;color:#ffffff;line-height:130%;text-align:left;”>12 Ärzte sind gerade online.<br/>Alle 9 Sekunden wird eine Frage beantwortet!</div><form style=”margin:0;padding:0;background-color:transparent;display:inline;” id=”frm__justanswer__” target=”_blank” method=”POST” onsubmit=”go__justanswer__(this);return false;”><input id=”fid__justanswer__” type=”hidden” value=”” name=”fid” /><input id=”question__justanswer__” type=”hidden” value=”” name=”question” /><input id=”refid__justanswer__” type=”hidden” value=”” name=”refid” /><input id=”tpath__justanswer__” type=”hidden” value=”” name=”tpath” /><textarea id=”input__justanswer__” placeholder=”Geben Sie hier Ihre Frage ein…” style=”position:absolute;left:20px;top:85px;width:260px;height:100px;font-family:Arial,sans-serif;color:#000000;font-size:13px;text-align:left;border:none;background-color:#ffffff;”></textarea></form><div id=”__justanswer__button” style=”cursor:pointer;position:absolute;white-space:nowrap;right:12px;top:206px;height:32px;” onclick=”go__justanswer__();”><div style=”position:absolute;right:0;height:31px;”><div style=”position:absolute;right:7px;top:0;height:31px;background-repeat: norepeat;background: url(data:image/png;base64,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);”>
<div id=”button_text__justanswer__” style=”display:inline-block;position:relative;top:0.1em;font-family:Arial,sans-serif;color:#ffffff;text-align:center;white-space:nowrap;line-height:100%”>Antwort erhalten</div></div>
</div></div></div>
<script>
//<!–
(function() {var _gel__justanswer__ = function(id) {
return document.getElementById(id);
};var getArgs = function() {
var params = {};
var paramString = window.location.search.substring(1);
if (paramString) {
var pairs = paramString.split(‘&’);
for (var i = 0; i < pairs.length; i++) {
var p = pairs[i].split(‘=’);
var paramval = ”;
var decodedName = decodeURIComponent(p[0]);
if (decodedName.length > 0) {
if (p.length > 1) {
paramval = decodeURIComponent(p[1]);
}
params[decodedName] = paramval;
}
}
}
return params;
}
var args = getArgs();var fitText = function(node) {
var fsz = 30;
if (node) {
do {
node.style.fontSize = (–fsz) + ‘px’;
} while (fsz > 12 && (node.scrollHeight > node.clientHeight || node.scrollWidth > node.clientWidth));
}
return fsz;
};var landing_page = ‘http://www.justanswer.de/gadget-landing.aspx?r={REFID}&FID={FID}&TP={TPATH}JPRC=1&JPAF=gadget&question={QUESTION}’;
var landing_page_noq = ‘http://www.justanswer.de/medizin/’;var go__justanswer__ = function(frm) {
var args = getArgs();
// get question value
var question = ”;
var inp = document.getElementById(‘input__justanswer__’);
if (inp) {
question = (inp.value || ”).substr(0, 1024);
}// get selection value
var forum = ‘135’ || ‘6’;
var sel = document.getElementById(‘selection__justanswer__’);
if (sel) {
if (sel.selectedIndex >= 0) {
forum = sel.options[sel.selectedIndex].value;
}
}var url = (question ? landing_page : landing_page_noq);
url = url.replace(‘{FID}’, forum);
url = url.replace(‘{REFID}’, ‘JAPPC’ || ”);
url = url.replace(‘{TPATH}’, ‘tech.300×250’ || ”);if (question && url.indexOf(‘{QUESTION}’) < 0) {
url += ‘&question={QUESTION}’;
}
url = url.replace(‘{QUESTION}’, encodeURIComponent(question));if (‘<mpvc/><mpck/>’ != (‘<mp’ + ‘vc/><mp’ + ‘ck/>’)) {
url = ‘<mpvc/>http://<mpck/>?mpre=’ + encodeURIComponent(url);
} else if (‘http://trk.justanswer.com/aff_c?offer_id=14&aff_id=6956&file_id=434’ != (‘{tracki’ + ‘ng_link}’)) {
url = ‘http://trk.justanswer.com/aff_c?offer_id=14&aff_id=6956&file_id=434&url=’ + encodeURIComponent(url);
}
// do it again in case the tracking page needs it
url = url.replace(‘{QUESTION}’, encodeURIComponent(question));
url = url.replace(‘{FID}’, forum);
url = url.replace(‘{REFID}’, encodeURIComponent(‘JAPPC’) || ”);
url = url.replace(‘{TPATH}’, ‘tech.300×250’ || ”);
console.log(‘landing_page: ‘ + url);frm = frm || document.getElementById(‘frm__justanswer__’);
if (!frm) {
location.href = url;
} else {
(document.getElementById(‘question__justanswer__’) || {}).value = (document.getElementById(‘input__justanswer__’) || {}).value;
(document.getElementById(‘fid__justanswer__’) || {}).value = forum;
(document.getElementById(‘refid__justanswer__’) || {}).value = ‘JAPPC’;
(document.getElementById(‘tpath__justanswer__’) || {}).value = ‘tech.300×250’;
frm.target = ‘_blank’;
frm.action = url;
frm.submit();
}
};
var load_script = function(script_url) {var script = document.createElement(‘script’);
script.type = ‘text/javascript’;
script.charset = ‘UTF-8’;
script.src = script_url;
var head = (document.getElementsByTagName(‘head’)[0] || document.documentElement);
head.insertBefore(script, head.firstChild);
console.log(‘brandaware: ‘ + script_url);
};var script_url = ”;
script_url = ‘http://just-answer-hrd.appspot.com/ac?’;
script_url += ‘&uq=’ + encodeURIComponent(‘__justanswer__’);
script_url += ‘&sz=’ + encodeURIComponent(‘300×250’);
script_url += ‘&topic=’ + encodeURIComponent(‘tech’);
script_url += ‘§ion=’ + encodeURIComponent(” || ‘dd’);
script_url += ‘&lang=’ + encodeURIComponent(” || ‘en’);// signals
script_url += ‘&s0=’ + encodeURIComponent(” || ‘0’);
script_url += ‘&s1=’ + encodeURIComponent(” || ‘0’);
script_url += ‘&s2=’ + encodeURIComponent(” || ‘0’);
script_url += ‘&s3=0’; // nosip: true for pearl only
script_url += ‘&s4=0’; // + encodeURIComponent(”);
script_url += ‘&s5=0’; // + encodeURIComponent(”);
script_url += ‘&s6=0’; // + (it.style.display != ‘none’ ? 1 : 0);
script_url += ‘&s7=0’; // + encodeURIComponent(”);try {
script_url += ‘&site_domain=’ + encodeURIComponent(document.domain);
script_url += ‘&title=’ + encodeURIComponent(document.title || ”);
script_url += ‘&site=’ + encodeURIComponent(top.location.hostname);
} catch(err) {
}var site_url = ”;
try {
site_url = (args[‘site_url’] || top.location.href || ”);
} catch(err) {
site_url = ‘http://’ + document.domain || ”;
}
script_url += ‘&urid=’ + encodeURIComponent(‘contextual’);
script_url += ‘&cid=’ + encodeURIComponent(site_url.substr(0, 1024));load_script(script_url);
fitText(document.getElementById(‘headline__justanswer__’));
fitText(document.getElementById(‘tagline__justanswer__’));window.textFits__justanswer__ = function(){};
window.rightSize__justanswer__ = function(){};
window.go__justanswer__ = go__justanswer__;
window._gel__justanswer__ = _gel__justanswer__;
window.boot__justanswer__ = function(o) {if (o[‘headline’]) {
var node = _gel__justanswer__(‘headline__justanswer__’);
if (node) {
node.innerHTML = o[‘headline’];
fitText(node);
}
}if (o[‘tagline’]) {
var node = _gel__justanswer__(‘tagline__justanswer__’);
if (node) {
node.innerHTML = o[‘tagline’];
fitText(node);
}
}if (o[‘destination_url’]) {
//landing_page = o[‘destination_url’];
}
};
})();
// –>
</script>Thank you for helping!
