Difference between revisions of "Test LiveChat"

(Sandbox Livechat)
Line 1: Line 1:
 
===Sandbox Livechat===
 
===Sandbox Livechat===
<html><img id="liveagent_button_online_5730K0000004Hue" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChat('5730K0000004Hue')" src="https://na3-dahuasecurity.cs72.force.com/LiveChat/resource/1531547934000/LiveChatChatWithUs" /><img id="liveagent_button_offline_5730K0000004Hue" style="display: none; border: 0px none; " src="https://na3-dahuasecurity.cs72.force.com/LiveChat/resource/1531547934000/LiveChatOffline" />
 
<script type="text/javascript">
 
if (!window._laq) { window._laq = []; }
 
window._laq.push(function(){liveagent.showWhenOnline('5730K0000004Hue', document.getElementById('liveagent_button_online_5730K0000004Hue'));
 
liveagent.showWhenOffline('5730K0000004Hue', document.getElementById('liveagent_button_offline_5730K0000004Hue'));
 
});</script></html>
 
 
==LiveChat Sandbox Test==
 
<html><apex:page >
 
  <h1>Let’s start chatting...</h1>
 
  <br />
 
  Click the big button to start a chat.
 
  <br />
 
  <!--Button Code-->
 
  <img id="liveagent_button_online_5735D0000008OON" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChat('5735D0000008OON')" src="https://na2-dahuasecurity.cs72.force.com/LiveChat/resource/1530212675000/LiveChatChatWithUs" /><img id="liveagent_button_offline_5735D0000008OON" style="display: none; border: 0px none; " src="https://na2-dahuasecurity.cs72.force.com/LiveChat/resource/1530212694000/LiveChatOffline" />
 
<script type="text/javascript">
 
if (!window._laq) { window._laq = []; }
 
window._laq.push(function(){liveagent.showWhenOnline('5735D0000008OON', document.getElementById('liveagent_button_online_5735D0000008OON'));
 
liveagent.showWhenOffline('5735D0000008OON', document.getElementById('liveagent_button_offline_5735D0000008OON'));
 
});</script>
 
  <!--Deployment Code-->
 
  <script type='text/javascript' src='https://c.la1-c1cs-ukb.salesforceliveagent.com/content/g/js/43.0/deployment.js'></script>
 
<script type='text/javascript'>
 
liveagent.init('https://d.la1-c1cs-ukb.salesforceliveagent.com/chat', '5725D0000008OOI', '00D5D0000008lNR');
 
</script>
 
</apex:page></html>
 
  
 
==SnapIn Test==
 
==SnapIn Test==

Revision as of 16:36, 6 September 2018

Sandbox Livechat

SnapIn Test