我正在向我的网站添加社交媒体按钮。 Facebook 点赞、Twitter 推文等按钮非常简单。
不过,我还需要一个通过电子邮件发送页面(或者更确切地说页面链接)按钮。我在互联网上搜索过,但找不到简单且良好的实现。
理想情况下,我希望能够复制一些可靠的代码,并使按钮看起来与此页面上的按钮样式相同: http://dl.dropbox.com/u/6920023/testbuttons.html
如果有人以前做过此操作,我会很高兴收到您的来信:)
谢谢 进步。
I'm adding social media buttons to my website. Facebook like, Twitter tweet etc buttons were very easy.
However I also need an email the page (or rather a link to the page) button. I have trawled the internet but cannot find a simple and good implementation.
Ideally I'd like to be able to copy some reliable code, and have the button look in the same style as the ones on this page: http://dl.dropbox.com/u/6920023/testbuttons.html
If anyone has done this before I would be very glad to hear from you :)
Thanks in advance.
发布评论
评论(2)
为什么不直接使用 AddThis 服务呢?您只需注册,向他们提供您的网站网址,然后选择您想在网站上使用的社交媒体/链接机制。最后,他们为您提供了一段 HTML 代码,可以将其放入您的网站中,您会看到,您选择的按钮和外观将会出现。您还可以在设置时选择诸如旧电子邮件之类的机制。
一个适当的例子;
这是链接:http://www.addthis.com/
Why not just use the AddThis service? You simply register, provide them with your website url and then select the social media / link mechanisms you would like to use on your site. At the end they provide you with a block of HTML code to drop into your site and low and behold, the buttons and appearance you selected will be present. You can also select mechanism such as pain old email when setting it up.
An example of it in place;
Here's the link: http://www.addthis.com/
据我所知,除了进行一些深入的 Gmail、Yahoo 和 Hotmail API 集成之外,您还必须使用
Mailto:
。这大约是你能得到的最好的结果。您可以使用 javascript/php (或您正在使用的任何内容)动态填写主题、正文、抄送字段等
As far as i know, you will have to use
Mailto:
apart from doing some deep Gmail, Yahoo and Hotmail API integration. That's about as good as your going to get.You can dynamically fill out subject, body, cc fields etc using javascript/php (or whatever you are using)