Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting to livehelperchat #736

Open
sreenathmurali opened this issue Jan 11, 2022 · 0 comments
Open

Connecting to livehelperchat #736

sreenathmurali opened this issue Jan 11, 2022 · 0 comments

Comments

@sreenathmurali
Copy link

Is it possible to connect with livehelperchat (https://github.com/LiveHelperChat/livehelperchat ) chat widget for auto completion of questions ??

  1. <script>

var LHC_API = LHC_API||{};
LHC_API.args = {mode:'widget',lhc_base_url:'//IP/livechat/lhc_web/index.php/',wheight:450,wwidth:350,pheight:520,pwidth:500,leaveamessage:true,department:["XX"],check_messages:false};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.setAttribute('crossorigin','anonymous'); po.async = true;
var date = new Date();po.src = '//IP/livechat/lhc_web/design/defaulttheme/js/widgetv2/index.js?'+(""+date.getFullYear() + date.getMonth() + date.getDate());
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>

2)Widget is loaded as iframe and target div is given below

<textarea maxlength="499" id="CSChatMessage" placeholder="Your message..." rows="1" class="pl-0 no-outline form-control rounded-0 form-control border-left-0 border-right-0 border-0 msg-one-line"></textarea>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant