forked from ESW1234/esw1234.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path206augsprintreview.html
More file actions
58 lines (50 loc) · 2.6 KB
/
206augsprintreview.html
File metadata and controls
58 lines (50 loc) · 2.6 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html>
<head>
<title>Spotify</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
</head>
<body>
<!--
embedded_svc.settings.avatarImgURL = 'Taylor-Swift.png';
embedded_svc.settings.prechatBackgroundImgURL = 'Prechat_image.png';
embedded_svc.settings.waitingStateBackgroundImgURL = 'waitingStateImage.png';
embedded_svc.settings.smallCompanyLogoImgURL = 'smallCompanyLogoImg.png';
-->
<script type='text/javascript' src='https://service.force.com/lightning/lightning.out.js'></script>
<script type='text/javascript' src='https://service.force.com/204.0/esw.js'></script>
<script type='text/javascript'>
var initESW = function(gslbBaseUrl) {
embedded_svc.settings.avatarImgURL = 'Taylor-Swift.png';
embedded_svc.settings.prechatBackgroundImgURL = 'Prechat_image.png';
embedded_svc.settings.waitingStateBackgroundImgURL = 'waitingStateImage.png';
embedded_svc.settings.smallCompanyLogoImgURL = 'smallCompanyLogoImg.png';
embedded_svc.settings.displayHelpButton = true; //Or false
embedded_svc.settings.initialInteractionState = 'PRECHAT'; //Or 'WAITING'
//embedded_svc.settings.onlineText = '...'; (defaults to Chat with an Expert, localized)
//embedded_svc.settings.offlineText = '...'; (defaults to Agent Offline, localized)
//embedded_svc.settings.onlineLoadingText = '...'; (defaults to Loading, localized)
embedded_svc.init('https://na1-blitz01.soma.salesforce.com', 'https://d.la-blitz01.soma.salesforce.com/chat', 'https://c.la-blitz01.soma.salesforce.com/content', 'https://fitbit-1475b6fa058-1550a73a5d9.blitz01.soma.force.com/koav38', '572D00000004CUv', '00DD00000008FQY', '573D00000004CgD', '204.0', gslbBaseUrl); }; if (!window.embedded_svc) { var s = document.createElement('script'); s.setAttribute('src', 'https://na1-blitz01.soma.salesforce.com/embeddedservice/204.0/esw.js'); s.onload = function() { initESW(null); }; document.body.appendChild(s);} else { initESW('https://na1-blitz01.soma.salesforce.com'); }</script>
</body>
<style>
body {
background: url("https://esw1234.github.io/Spotify-large.png") no-repeat;
}
#button_goes_here {
width: 100%;
height: 100%;
margin: 0 auto;
position: relative;
}
.embeddedServiceLiveAgentChatWindowItem .agentAvatar {
background-color: white;
}
.embeddedServiceLiveAgentChatButton .uiButton.agentOnline:hover,
.uiButton.agentOnline:focus,
.uiButton.agentOnline.is-selected,
.embeddedServiceLiveAgentPrechat .startButton,
.embeddedServiceLiveAgentSidebar .minimizedContainer.newMessage,
.embeddedServiceLiveAgentChatWindow .messageOverlay .messageOverlayTopButton {
background: #1ed760;
}
</style>
</html>