Created
November 27, 2012 22:47
-
-
Save DeskSupport/4157724 to your computer and use it in GitHub Desktop.
Email widget example
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
<!-- CSS & JS --> | |
<link href="https://desk-customers.s3.amazonaws.com/shared/email_widget.css" media="screen" rel="stylesheet" type="text/css" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
<script src="https://desk-customers.s3.amazonaws.com/shared/email_widget.js" type="text/javascript"></script> | |
<!-- The lightbox --> | |
<div id="desk-support-box"> | |
<a id="desk-support-box-close">⊗</a> | |
<iframe src="http://YOUR-SITE.desk.com/customer/widget/emails/new" id="desk-widget-iframe"></iframe> | |
</div> | |
<div id="desk-darkness"></div> | |
<!-- Use one of these three different CTA styles (sidetab, button, or text link) --> | |
<a class="desk-cta desk-sidetab" href="http://YOUR-SITE.desk.com/customer/widget/emails/new">Support</a> | |
<a class="desk-cta desk-button" href="http://YOUR-SITE.desk.com/customer/widget/emails/new">Support</a> | |
<a class="desk-cta desk-text" href="http://YOUR-SITE.desk.com/customer/widget/emails/new">Support</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment