【问题标题】:How to create an Email share button on Fancybox 3 buttons如何在 Fancybox 3 按钮上创建电子邮件共享按钮
【发布时间】:2020-06-17 06:35:16
【问题描述】:

如果我启用“分享”按钮,我会看到 3 个功能:Facebook、Twitter 和 Pinterest。是否可以创建电子邮件共享按钮?我只是想出了如何在图像下方显示的数据标题区域中将其作为文本链接进行操作,请参见下面的代码。

    `<a data-fancybox="gallery" href="imagejpg" data-caption="Image name<a href=&quot;mailto:email&#64;example.com&quot;><u>send this image by Email</u></a>"><img src="image.jpg" height="250" width="auto" alt="" ></a>`

【问题讨论】:

    标签: mailto fancybox-3


    【解决方案1】:

    有一个选项share : { tpl : '...'} 包含共享对话框的模板。您可以使用它来进行自定义。

    【讨论】:

      猜你喜欢
      • 2011-09-28
      • 2011-12-24
      • 1970-01-01
      • 2023-03-19
      • 2018-12-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-13
      相关资源
      最近更新 更多