Created
April 30, 2015 08:53
-
-
Save lkatney/08dbbfaa809abcbe1035 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page > | |
<!-- USE YOUR OWN BUTTON & DEPLOYMENT CODE HERE --> | |
<!-- button code --> | |
<img id="liveagent_button_online_573280000008OUC" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChatWithWindow('573280000008OUC', 'chat-window')" src="https://lakshay37demo-developer-edition.ap2.force.com/resource/1430373426000/Online_Chat_Button" /><img id="liveagent_button_offline_573280000008OUC" style="display: none; border: 0px none; " src="https://lakshay37demo-developer-edition.ap2.force.com/resource/1430373447000/Offline_Chat_Button" /> | |
<script type="text/javascript"> | |
if (!window._laq) { window._laq = []; } | |
window._laq.push(function(){liveagent.showWhenOnline('573280000008OUC', document.getElementById('liveagent_button_online_573280000008OUC')); | |
liveagent.showWhenOffline('573280000008OUC', document.getElementById('liveagent_button_offline_573280000008OUC')); | |
}); | |
</script> | |
<!-- deployment code --> | |
<script type='text/javascript' src='https://c.la10.salesforceliveagent.com/content/g/js/33.0/deployment.js'></script> | |
<script type='text/javascript'> | |
liveagent.init('https://d.la10.salesforceliveagent.com/chat', '572280000004CJX', '00D28000000Hn8Z'); | |
</script> | |
<!-- iframe --> | |
<iframe name="chat-window" height="500" width="400" style="float:right;"/> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment