2011-05-25 92 views

回答

0

你想確切地分享自定義分享按鈕?

,如果它是一個網站,只需複製你想要分享並粘貼狀態區域內的鏈接。

 
<script> 
function fbs_click() 
{ 
u=location.href; 
t=document.title; 
window.open(‘http://www.facebook.com/sharer.php?u=’+encodeURIComponent(u)+’&t=’+encodeURIComponent(t),’sharer’,'toolbar=0,status=0,width=626,height=436′); 
return false; 
}</script> 
<a href=」http://www.facebook.com/share.php?u=<url>」 onclick=」return fbs_click()」 target=」_blank」><img src=」ADD_IMAGE_URL_HERE」 alt=」Share on Facebook」 /></a> 

您可以將此代碼置於您的網頁中您希望顯示共享按鈕的位置,然後更改爲您要共享的鏈接。

更多信息檢查thisthisthis

+0

看到更新,請通過置入網站內的模塊或代碼,使用的是CMS生成 – Neir0 2011-05-25 11:50:53

+0

此分享按鈕,或者你沒有你的自編程? – smack 2011-05-25 11:52:28

+0

@smack我自己編程。我只是想添加我的自定義圖像,分享我的網站在Facebook上的一些內容。 – Neir0 2011-05-25 11:59:30