Created
December 5, 2011 20:39
-
-
Save avinasha/1435245 to your computer and use it in GitHub Desktop.
Embed SupportBee Form
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
Add the following code block with the correct options to embed SupportBee in any website | |
<script src="https://sbassets.s3.amazonaws.com/widget/script.js" type="text/javascript"></script> | |
<script> | |
var sb_form = SupportBee.Form.initialize({ | |
company: 'techfolder', | |
height: '400px', | |
base_domain: 'supportbee.com', | |
position: 'bottom' | |
}); | |
</script> | |
Set option 'position' to 'none' if you dont not want the "Contact Support" tab attached to any border of the site. | |
Add the following attribute: | |
data-controls-modal="sb-overlay" | |
to the element, clicking which will show the support overlay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment