Skip to content

Commit d18ecff

Browse files
Update ngc.html
1 parent be421ef commit d18ecff

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

256/W-17900592/ngc.html

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
<html>
22
<head>
3+
<title>NGC</title>
34
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
45
</head>
6+
<style>
7+
body {
8+
background: url("https://esw1234.github.io/ElectraHome.png") no-repeat;
9+
background-size: contain;
10+
background-position: center;
11+
background-repeat: no-repeat;
12+
}
13+
</style>
514
<body>
615
<script type='text/javascript'>
7-
function initNextGenChat() {
16+
function initAgentforceMessaging() {
817
try {
9-
embeddedservice_nextgenchat.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'
18+
agentforce_messaging.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'
1019

11-
embeddedservice_nextgenchat.init(
20+
agentforce_messaging.init(
1221
// '00Dxx00Pd8Wtx4y',
1322
// 'LOCAL_254',
1423
'00DSB0000005YCL',
@@ -23,7 +32,9 @@
2332
console.error('Error loading Next Gen Chat: ', err);
2433
}
2534
};
35+
36+
2637
</script>
27-
<script type='text/javascript' src='https://w17900592.my.site-com.tiffany-tso-z7xfudgigtw90.wb.crm.dev:6101/ESWNGC11741368521843/assets/js/init.js' onload='initNextGenChat()'></script>
38+
<script type='text/javascript' src='https://w17900592.my.site-com.tiffany-tso-z7xfudgigtw90.wb.crm.dev:6101/ESWNGC11741368521843/assets/js/init.js' onload='initAgentforceMessaging()'></script>
2839
</body>
2940
</html>

0 commit comments

Comments
 (0)