live chat javascript breaks form...

User 2874059 Photo


Registered User
4 posts

My company uses a live chat javascript on our pages to help customers with any questions. is there a safe place to put the following script because on the form pages it sometimes breaks the form signature pad and the display rules but a refresh of the site fixes it most times. sometimes everything works and sometimes it does not. I am asking the live chat creators if they have any variations of the <script> tag that I can use, in the meantime I thought I would see if anyone else has had issues like this.

this is the script in question:

<!-- End of the body content for CoffeeCup Web Form Builder -->

<script type='text/javascript'>
(function() {
var s = document.createElement('script');s.type='text/javascript';s.async=true;s.id='lsInitScript';
s.src='https://livesupporti.com/Scripts/clientAsync.js?acc=fce842ea-fc93-41ee-9e2c-66213a2cccce&skin=Classic';
var scr=document.getElementsByTagName('script')[0];scr.parentNode.appendChild(s, scr);
})();
</script>

</body>
</html>
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

Hi William,
Give this a try.
<script type="text/javascript">
//<![CDATA[
window.onload=function(){ (function() {
var s = document.createElement('script');s.type='text/javascript';s.async=true;s.id='lsInitScript';
s.src='https://livesupporti.com/Scripts/clientAsync.js?acc=fce842ea-fc93-41ee-9e2c-66213a2cccce&skin=Classic';
var scr=document.getElementsByTagName('script')[0];scr.parentNode.appendChild(s, scr);
})(); }
//]]>
</script>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2874059 Photo


Registered User
4 posts

It works, Thanks so much! Also, I was wondering if there is a workaround to the lack of tooltips in Web Form Designer. I have an image of a little "i" that i would like to add and then have a line of text show up on hover of this image. Is that possible?
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

There's a couple of ways. Does it need to be a balloon style or can it show in the area around the i?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2874059 Photo


Registered User
4 posts

I think balloon style would be nice
User 187934 Photo


Senior Advisor
20,190 posts
Online Now

You should be able to grab jquery ui with tooltip and add it to your form.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2874059 Photo


Registered User
4 posts

THANKS! :D

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.