Skip to content

Commit 68801e1

Browse files
Create messaging.html
1 parent 5da04a4 commit 68801e1

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<html>
2+
<head>
3+
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
4+
</head>
5+
<body>
6+
<p align="center"><font color ="red">ben@sdb6miaw.com</font></p>
7+
8+
<script type='text/javascript'>
9+
function initEmbeddedMessaging() {
10+
try {
11+
embeddedservice_bootstrap.settings.language = 'en'; // For example, enter 'en' or 'en-US'
12+
embeddedservice_bootstrap.settings.devMode = true;
13+
14+
embeddedservice_bootstrap.init(
15+
'00DSG000003NJRe',
16+
'Messaging',
17+
'https://benco13.test1.my.pc-rnd.site.com/ESWMessaging1686939222398',
18+
{
19+
scrt2URL: 'https://benco13.test1.my.pc-rnd.salesforce-scrt.com'
20+
}
21+
);
22+
} catch (err) {
23+
console.error('Error loading Embedded Messaging: ', err);
24+
}
25+
};
26+
</script>
27+
<script type='text/javascript' src='https://benco13.test1.my.pc-rnd.site.com/ESWMessaging1686939222398/assets/js/bootstrap.js' onload='initEmbeddedMessaging()'></script>
28+
</body>
29+
</html>
30+
<style>
31+
body {
32+
33+
background: url("https://esw1234.github.io/Spotify-large.png") no-repeat;
34+
}
35+
#button_goes_here{
36+
width: 100%;
37+
height: 100%;
38+
margin: 0 auto;
39+
position: relative;
40+
41+
}
42+
</style>

0 commit comments

Comments
 (0)