/*
 * 依序為FB / G+ / Twitter 的Shaer Button
 * 圖片可以依照自己喜歡的變化
 */

<a href="javascript: void(window.open('http://www.facebook.com/share.php?u='.concat(encodeURIComponent(location.href)) ));">
<img title="Share to the Facebook" src="http://solution.avermedia.com/sites/business/files/social_media/facebook.png" border="0" width="20" /></a>

<a href="javascript: void(window.open('https://plus.google.com/share?url='.concat(encodeURIComponent(location.href)), '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600'));">
<img title="Share to the Google+" src="http://solution.avermedia.com/sites/business/files/social_media/google-plus.png" border="0" width="20" /></a>

<a href="javascript: void(window.open('http://twitter.com/home/?status='.concat(encodeURIComponent(document.title)) .concat(' ') .concat(encodeURIComponent(location.href))));">
<img title="Share to the Twitter" src="http://solution.avermedia.com/sites/business/files/social_media/twitter.png" border="0" width="20" /></a>

 

 

 

參考:http://www.moke.tw/wordpress/note/307 / http://briian.com/?p=6313

 

 

 

推推王

<a href="http://funp.com.tw/push/submit/add.php?url=http%3A%2F%2Fcabuchi.pixnet.net%2Fblog&s=%E5%B0%8F%E6%98%A5%E6%97%A5%E5%92%8C&tags[]=%E6%97%85%E8%A1%8C&tags[]=%E7%94%9F%E6%B4%BB&via=tools" title="貼到funP"><img src="http://funp.com.tw/tools/images/funpLogo80x15b.gif" border="0"/></a>

 

PLURK推文

<a href="javascript: void(window.open('http://www.plurk.com/?qualifier=shares&status=' .concat(encodeURIComponent(location.href)) .concat(' ') .concat('&#40;') .concat(encodeURIComponent(document.title)) .concat('&#41;')));">[推到Plurk]</a>

 

TWITTER推文

<a href="javascript: void(window.open('http://twitter.com/home/?status='.concat(encodeURIComponent(document.title)) .concat(' ') .concat(encodeURIComponent(location.href))));">[推到Twitter]</a>

 

FB推文

<a href="javascript: void(window.open('http://www.facebook.com/share.php?u='.concat(encodeURIComponent(location.href)) ));">[推到 Facebook]</a>

 

cabuchi 發表在 痞客邦 PIXNET 留言(0) 人氣()