0712-2888027 189-8648-0214
微信公眾號(hào)

孝感風(fēng)信網(wǎng)絡(luò)科技有限公司微信公眾號(hào)

當(dāng)前位置:主頁 > 技術(shù)支持 > Javascript/JQuery > 百度分享圖標(biāo)式、浮窗式、圖片分享、劃詞分享共用代碼

百度分享圖標(biāo)式、浮窗式、圖片分享、劃詞分享共用代碼

時(shí)間:2015-11-11來源:風(fēng)信官網(wǎng) 點(diǎn)擊: 738次

<div class="bdsharebuttonbox">
<a href="#" class="bds_more" data-cmd="more"></a>
<a title="分享到QQ空間" href="#" class="bds_qzone" data-cmd="qzone"></a>
<a title="分享到新浪微博" href="#" class="bds_tsina" data-cmd="tsina"></a>
<a title="分享到騰訊微博" href="#" class="bds_tqq" data-cmd="tqq"></a>
<a title="分享到人人網(wǎng)" href="#" class="bds_renren" data-cmd="renren"></a>
<a title="分享到微信" href="#" class="bds_weixin" data-cmd="weixin"></a>
</div>

<script type="text/javascript">
window._bd_share_config={
//此處放置通用設(shè)置
"common":{
"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},

//此處放置浮窗分享設(shè)置
"slide":{
"type":"slide","bdImg":"0","bdPos":"left","bdTop":"200"},

//此處放置分享按鈕設(shè)置
"share":{
"bdSize":16},

//此處放置圖片分享設(shè)置
"image":{
"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到:","viewSize":"16"}

//此處放置劃詞分享設(shè)置
"selectShare":{
"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}
};

with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>

欄目列表
推薦內(nèi)容
熱點(diǎn)內(nèi)容
展開