





















I truly hate social media share buttons. Especially those plugins which not only are coded badly but also create heavy traffic and performance issues. Plus, they're a pain in the ass to place correctly. If you really want to use (or have to use) those social liking/sharing/tweeting stuff, use their share URLs. Every single one of them has such, and you can either open them in a pop-up or in a new window. Here they are:
http://twitter.com/home?status=Check%20out%20{articleUrl}
http://www.facebook.com/sharer.php?u={articleUrl}
http://www.linkedin.com/shareArticle?mini=true&url={articleUrl}
&title={articleTitle}
&summary={articleSummary}
&source={articleSource}```
Google+
https://plus.google.com/share?url={articleUrl}
Pinterest
http://pinterest.com/pin/create/button/?url={articleUrl}
Just replace {articleUrl} with the respective location.
Related Articles
-
October 21, 2013 |
CSS,
HTML5
Content vs. value
-
July 2, 2013 |
CSS3,
Feature Detection,
HTML5,
Mobile
Preparing for an unprefixed future
-
April 24, 2013 |
HTML5,
Mobile
Nobody wants HTML5 apps
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。