Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Code Injection effecting other elements


usaveteranmovers

Question

Site URL: http://www.usaveteranmovers.com

Hi all,

I'm trying to add a review widget from Bawkbox. I've tried adding the code as a box, and that shows the widget nicely but the button does not work. 

I've also tried using code injection on the specific page but it messes up my entire header. I know very basic code and am not that familiar with Squarespace, so this is a little over my head.

If anyone knows how to fix this so at least one of these options works, that would be so helpful! Thank you!

Here's the code:

<h2>What People Are Saying.</h2><!-- Start BawkBox Code--><script data-sil-id="5ec5a6a6c6c2ee0011acb35f">var loadWidget = function() { var d = document, w = window, l = window.location,p = l.protocol == "file:" ? "http://" : "//"; if (!w.WS) w.WS = {}; c = w.WS; var m=function(t, o){ var e = d.getElementsByTagName("script"); e=e[e.length-1]; var n = d.createElement(t); if (t=="script") {n.async=true;} for (k in o) n[k] = o[k]; e.parentNode.insertBefore(n, e)}; m("script", { src: p + "bawkbox.com/widget/star-rating/5ec5a6a6c6c2ee0011acb35f?page=" +encodeURIComponent(l+''), type: 'text/javascript' }); c.load_net = m; }; if(window.Squarespace){ document.addEventListener('DOMContentLoaded', loadWidget); setTimeOut(function(){ document.addEventListener('DOMContentLoaded', loadWidget); }, 3000) } else { loadWidget() } </script><script type="application/ld+json" src="/widget/star-rating/5ec5a6a6c6c2ee0011acb35f/microdata"></script><div class="sil-widget-star-rating sil-widget" id="sil-widget-5ec5a6a6c6c2ee0011acb35f"><a href="//bawkbox.com/install/star-rating">Customer Reviews</a></div><!-- End BawkBox Code-->

Link to post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

@BETresses Please post the URL for a page where the submit button is not working. If your site is not public please set up a site-wide password, if you've not already done so. Post the passw

4 answers to this question

Recommended Posts

  • 0

Hi,

Is there a update on this? I'm having the same issue. My customers are allowed to leave a review/comment, but the submit button doesn't work. Please assist. 

Thanks, 

BETresses

Edited by BETresses
Link to post
  • 0

@BETresses

Please post the URL for a page where the submit button is not working.

If your site is not public please set up a site-wide password, if you've not already done so. Post the password here.

We can then take a look at your issue.

Hello I'm Thomas. I've been getting websites up and running for 26 years. I want to help you at whatever level meets your needs, from as little (if you're a DIYer) to as much as you need.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...