Skip to content

Instantly share code, notes, and snippets.

@dbarria
Last active December 6, 2017 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbarria/bdf0075a46678a20c7296ab4b18d22ba to your computer and use it in GitHub Desktop.
Save dbarria/bdf0075a46678a20c7296ab4b18d22ba to your computer and use it in GitHub Desktop.
bcitransaccional-qa.letsta.lk with widget widget-av
<html>
<head>
<!-- Carga del widget de Let's Talk -->
<script type="application/javascript" src="https://bcitransaccional-qa.letsta.lk/widget.js"></script>
<style>
body, html {
height: 100%;
margin: 0;
overflow-y: visible;
}
.bg {
/* The image used */
background-image: url("http://misc.letsta.lk.s3.amazonaws.com/images/bcicuentacorriente.png");
/* Full height */
height: 100%;
/* Center and scale the image nicely */
background-position: top;
background-repeat: no-repeat;
background-size: cover;
}
</style>
</head>
<body>
<div class="bg"></div>
<script type="application/javascript">
window.$LT(function(messenger) {
messenger.setByName("widget-av");
messenger.settings ({
eager_loading: true,
consumer: {
key: 'rkcw_o1cT_SEq8AY6-FzJA',
token: 'dhpwekJqqlbaGQ0axWi1Qg'
},
visitor: {
name: 'Client Demo',
email: 'client.demo@letsta.lk',
attrs: {
one_key: 'one_value',
another_key: 'another_value'
}
}
});
})
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment