-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlincolnTest.html
More file actions
36 lines (30 loc) · 2.19 KB
/
lincolnTest.html
File metadata and controls
36 lines (30 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE HTML>
<html>
<head>
<title>DEFAULT PAGE</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
</head>
<body>
<div id="button_goes_here">
<style type='text/css'>
.embeddedServiceLiveAgentChatButton .helpButton .uiButton { background-color: #c20430; font-family: "Arial Black", sans-serif; }
.embeddedServiceLiveAgentChatButton .helpButton .uiButton:focus {outline: 1px solid #c20430}
</style>
<script type='text/javascript' src='https://service.force.com/embeddedservice/2.0/esw.min.js'></script>
<script type='text/javascript'>
var initESW = function(gslbBaseUrl) {
embedded_svc.settings.avatarImgURL = '';
embedded_svc.settings.prechatBackgroundImgURL = '';
embedded_svc.settings.waitingStateBackgroundImgURL = '';
embedded_svc.settings.smallCompanyLogoImgURL = '';
embedded_svc.settings.displayHelpButton = true; //Or false
embedded_svc.settings.language = ''; //For example, enter 'en' or 'en-US'
//embedded_svc.settings.defaultMinimizedText = '...'; (Defaults to Chat with an Expert)
//embedded_svc.settings.offlineText = '...'; (Defaults to Agent Offline)
//embedded_svc.settings.onlineLoadingText = '...'; (Defaults to Loading)
//embedded_svc.settings.storageDomain = 'yourdomain.com'; (Sets the domain for your deployment so that visitors can navigate subdomains during a chat session)
embedded_svc.init('https://lincoln--liveagent.cs30.my.salesforce.com', 'https://d.la1-c2cs-dfw.salesforceliveagent.com/chat', 'https://c.la1-c2cs-dfw.salesforceliveagent.com/content', 'https://liveagent-lincoln.cs30.force.com/', '572j0000000TZtK', '00Dn00000008vH5', '573n00000008OU6', '2.0', gslbBaseUrl, '40.0', 'LiveChat_Test_Sample_1', 'EmbeddedServiceLiveAgent_Parent04In0000000001OEAQ_15bf42ee620'); }; if (!window.embedded_svc) { var s = document.createElement('script'); s.setAttribute('src', 'https://lincoln--LiveAgent.cs30.my.salesforce.com/embeddedservice/2.0/esw.min.js'); s.onload = function() { initESW(null); }; document.body.appendChild(s);} else { initESW('https://lincoln--liveagent.cs30.my.salesforce.com'); }</script>
</div>
<a href="http://support.websnapins.com/ashah/main.html" target="_self" >Support</a>
</body>
</html>