1. 程式人生 > >連結分享功能

連結分享功能

<div class="bshare-custom"><div class="bsPromo bsPromo2"></div>
<a title="分享到QQ空間" class="bshare-qzone"></a>
<a title="分享到微信" class="bshare-weixin" href="javascript:void(0);"></a>
<a title="分享到QQ好友" class="bshare-qqim" href="javascript:void(0);"></a>
<
a
title="更多平臺" class="bshare-more bshare-more-icon more-style-addthis">
</a></div> <script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=2&amp;lang=zh"></script> <script type="text/javascript" charset
="utf-8" src="http://static.bshare.cn/b/bshareC0.js">
</script>

然而這並不能滿足你的需求!你需要設定自己想要訪問的網站程式碼如下

   <script>
    bShareOpt = {
    uuid: "",
    url: "http://www.baidu.com",
    summary: "",
    pic: "",
    vUid: "",
    product: "",
    price: "0",
    brand: "",
    tag: "",
    category: ""
, template: "1" };
</script> 具體詳情請看bshare.cn