denkadet Posted November 9, 2016 Share Posted November 9, 2016 Hello, everybody. It's my first topic as the problem is uncommon. I'm trying to add a script to my website which is on local server yet by using HtmlBox plugin and place the code right into the header so it's supposed to show up on all pages. It actually does show up correctly on the main page but only there. On the rest of the pages it goes under the footer as a white area. Can anyone help? The code is a script for callback from zadarma.com looks like <script type="text/javascript">var ZCallbackWidgetLinkId = 'my link id is here';var ZCallbackWidgetDomain = 'my.zadarma.com';(function(){var lt = document.createElement('script');lt.type ='text/javascript';lt.charset = 'utf-8';lt.async = true;lt.src = '' + ZCallbackWidgetDomain + '/callbackWidget/js/main.min.js?unq='+Math.floor(Math.random(0,1000)*1000);var sc = document.getElementsByTagName('script')[0];if (sc) sc.parentNode.insertBefore(lt, sc);else document.documentElement.firstChild.appendChild(lt);})();</script> Link to comment Share on other sites More sharing options...
vekia Posted November 10, 2016 Share Posted November 10, 2016 can you please share an url? case requires inspection Link to comment Share on other sites More sharing options...
denkadet Posted November 10, 2016 Author Share Posted November 10, 2016 (edited) can you please share an url? case requires inspection It's on local server (localhost) Can't share it unfortunately I've got only css for the script zcallback_widget.css Edited November 10, 2016 by denkadet (see edit history) Link to comment Share on other sites More sharing options...
denkadet Posted November 10, 2016 Author Share Posted November 10, 2016 can you please share an url? case requires inspection Any help? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now