Gusman

Kode html Popup live support

Sep 24th, 2019
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.80 KB | None | 0 0
  1. <!-- WhatsHelp.io widget -->
  2. <script type="text/javascript">
  3. (function () {
  4. var options = {
  5. facebook: "1234XXX", // Facebook page ID
  6. whatsapp: "0821XXX", // WhatsApp number
  7. call_to_action: "Chat kami", // Call to action
  8. button_color: "#129BF4", // Color of button
  9. position: "left", // Position may be 'right' or 'left'
  10. order: "facebook,whatsapp", // Order of buttons
  11. };
  12. var proto = document.location.protocol, host = "whatshelp.io", url = proto + "//static." + host;
  13. var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
  14. s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
  15. var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
  16. })();
  17. </script>
  18. <!-- /WhatsHelp.io widget -->
Add Comment
Please, Sign In to add comment