<!doctype html>
Need to make a ticket?
Or chat with us right now!
//All settings are OPTIONAL. Remove them to use the defaults var hdWidget = { text: "Contact us", //text on the widget tab position: "left", //You can use "right" or "left" to position the widget bgColor: "#4c5b6b", //background color fgColor: "#ffffff", //text color borderColor: "#fff", //color of the border around the widget categoryId: 42, //pre-selected category in the widget. Get the ID from the admin panel hideCategory: 0, //set to "1" to hide category select box, works only if you also pass a default category autoShow: 0, //auto show the widget after X seconds. "0" to disable auto showing email: "", //prefilled user email if you already know it in your app };
//you can also open or close the widget programmatically
//by calling _hdWidget.toggleWidget() anywhere in your code