Website unexpected change in displaying multiple aspects of content ( BIG PROBLEM )

Permalink
Within the past few hours, I was experimenting around with some HTML code over on my sub-domain that has live chat helper. [http://livehelperchat.com/ ]The HTML code, I was just dropping into the tracking code section on my Concrete 5 primary website domain. The code simply created a live chat widget on my main site. I have another script in the tracking code section and this has never been a problem. Multiple aspects of the design of the site have major changes, text font, image sizes, buttons a lot!
The only other thing that I did was clean the cache in concrete 5.
I am totally puzzled
If anyone is able to shed some light on this it would be really appreciated !!!!!!!!!!!!!
The website ishttp://www.melangecounselling.com

melange
 
melange replied on at Permalink Reply
melange
Hi all,

I am hoping this problem, is not a beyond something to complex. I have a couple people looking at it. If I have no luck getting any nibbles on here, I will be looking at moving it across the jobs board. If you feel like you might have an understanding of what might be going on, send me a message.

Thanks
Gondwana replied on at Permalink Reply
Gondwana
Does the script use any CSS? If so, are its selectors configured so that they only affect their own elements, rather than the whole site?
melange replied on at Permalink Reply
melange
Hi ,

Thanks for the reply.

This was the script that I place into the tracking section.

<script type="text/javascript">
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var referrer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://')+1)) : '';
var location = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = '//livechathelper.melangecounselling.com/index.php/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(hide_offline)/true/(check_operator_messages)/true/(top)/350/(units)/pixels/(leaveamessage)/true/(department)/1/(theme)/2?r='+referrer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>

I did this on and off with slight variations until I got the script working the way I wanted it too.
But that was the last script I placed in CC5. I have since removed it.

I have since been told, that it probably was not a good idea nor should I have placed it there.
Not sure if that helps any?