Difference between revisions of "Test LiveChat2"

(Live Chat Test 2)
Line 1: Line 1:
 
=Live Chat Test 2=
 
=Live Chat Test 2=
 
==DNA-LiveChat==
 
==DNA-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" />
+
<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">
 
<script type="text/javascript">
 
if (!window._laq) { window._laq = []; }
 
if (!window._laq) { window._laq = []; }
 
window._laq.push(function(){liveagent.showWhenOnline('5730K0000004Hue', document.getElementById('liveagent_button_online_5730K0000004Hue'));
 
window._laq.push(function(){liveagent.showWhenOnline('5730K0000004Hue', document.getElementById('liveagent_button_online_5730K0000004Hue'));
 
liveagent.showWhenOffline('5730K0000004Hue', document.getElementById('liveagent_button_offline_5730K0000004Hue'));
 
liveagent.showWhenOffline('5730K0000004Hue', document.getElementById('liveagent_button_offline_5730K0000004Hue'));
});</script></html>
+
});</script>
  
==Chat Button==
+
  <!--Deployment Code-->
<html><img id="liveagent_button_online_5730K0000004Huj" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChat('5730K0000004Huj')" src="https://na3-dahuasecurity.cs72.force.com/LiveChat/resource/1531547934000/LiveChatChatWithUs" /><img id="liveagent_button_offline_5730K0000004Huj" style="display: none; border: 0px none; " src="https://na3-dahuasecurity.cs72.force.com/LiveChat/resource/1531547934000/LiveChatOffline" />
+
<script type='text/javascript' src='https://c.la1-c1cs-hnd.salesforceliveagent.com/content/g/js/43.0/deployment.js'></script>
<script type="text/javascript">
+
<script type='text/javascript'>
if (!window._laq) { window._laq = []; }
+
liveagent.init('https://d.la1-c1cs-hnd.salesforceliveagent.com/chat', '5720K000000L4V7', '00D5D0000008t3B');
window._laq.push(function(){liveagent.showWhenOnline('5730K0000004Huj', document.getElementById('liveagent_button_online_5730K0000004Huj'));
+
</script>
liveagent.showWhenOffline('5730K0000004Huj', document.getElementById('liveagent_button_offline_5730K0000004Huj'));
+
</script></html>
});</script></html>
 

Revision as of 15:20, 28 August 2018

Live Chat Test 2

DNA-LiveChat