如何通过Gmail分享链接,我想使用电子邮件模板来显示短信。我想通过addthis_share设置note,url。我的代码如下所示
<script type="text/javascript">
var addthis_share = { templates: { email_template: 'myTemplate' }, email_vars: { note: "hai", url: "Your Url" } };
</script>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript">var addthis_config ={"data_track_addressbar":true}; </script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-528dd02b38e0dbb5"></script>
但它不起作用。