Difference between revisions of "Test LiveChat"

(LiveChat Test)
(LiveChat Test)
Line 4: Line 4:
 
liveagent.init('https://d.la1-c1cs-ukb.salesforceliveagent.com/chat', '5725D0000008OOI', '00D5D0000008lNR');
 
liveagent.init('https://d.la1-c1cs-ukb.salesforceliveagent.com/chat', '5725D0000008OOI', '00D5D0000008lNR');
 
</script></html>
 
</script></html>
 +
==Test2==
 +
<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>

Revision as of 20:34, 28 June 2018

LiveChat Test

Test2

Let’s start chatting...


Click the big button to start a chat.