Skip to content

Instantly share code, notes, and snippets.

@avinasha
Created December 5, 2011 20:39
Show Gist options
  • Save avinasha/1435245 to your computer and use it in GitHub Desktop.
Save avinasha/1435245 to your computer and use it in GitHub Desktop.
Embed SupportBee Form
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