A Pen by Yerlin Matu on CodePen.
Created
February 3, 2019 02:35
-
-
Save YerlinMatu/2a8f65b41646fa5d6a6e70743d4fb603 to your computer and use it in GitHub Desktop.
Button Network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var options = { | |
whatsapp: "+57 350 8780527", // WhatsApp number | |
call: "+57 350 8780527", // Call phone number | |
call_to_action: "¿En qué podemos ayudarte? :)", // Call to action | |
button_color: "#666666", // Color of button | |
position: "right", // Position may be 'right' or 'left' | |
order: "whatsapp,call", // Order of buttons | |
}; | |
var proto = document.location.protocol, host = "whatshelp.io", url = proto + "//static." + host; | |
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js'; | |
s.onload = function () { WhWidgetSendButton.init(host, proto, options); }; | |
var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Init