<header>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
</header>
<body>
<div class="bdsharebuttonbox" data-tag="share_1">
<a class="bds_mshare" data-cmd="mshare"></a>
<a class="bds_qzone" data-cmd="qzone" href="#"></a>
<a class="bds_tsina" data-cmd="tsina"></a>
<a class="bds_baidu" data-cmd="baidu"></a>
<a class="bds_renren" data-cmd="renren"></a>
<a class="bds_tqq" data-cmd="tqq"></a>
<a class="bds_more" data-cmd="more"></a>
<a class="bds_count" data-cmd="count"></a>
</div>
<div class="bdsharebuttonbox" data-tag="share_2">
<a class="bds_qzone" data-cmd="qzone" href="#"></a>
<a class="bds_tsina" data-cmd="tsina"></a>
<a class="bds_baidu" data-cmd="baidu"></a>
<a class="bds_renren" data-cmd="renren"></a>
<a class="bds_tqq" data-cmd="tqq"></a>
<a class="bds_copy" data-cmd="copy"></a>
<a class="bds_more" data-cmd="more"></a>
</div>
<p>选字分享:复制下面文字</p>
<div class="bdselectshare">复制分享字数要超过5个字</div>
<p>分享图片:</p>
<div class="bdshareimg">
<img src="图片地址" />
</div>
<script type="text/javascript">
window._bd_share_config = {
common: {
bdText: '自定义分享内容',
bdDesc: '自定义分享摘要',
bdUrl: '自定义分享url地址',
bdPic: '自定义分享图片',
bdMini: 1,
bdMiniList: ['qzone', 'tsina', 'huaban', 'tqq', 'renren']
},
share: [
{
"bdSize": 16
},
{
tag: 'share_2',
"bdSize": 32,
bdText: 'this is second',
bdDesc: 'this is second',
bdUrl: 'this is second',
bdPic: 'this is second',
bdMiniList: ['renren', 'qzone', 'tsina']
}
],
slide: [{
bdImg: 0,
bdPos: "right"
}, {
bdImg: 1,
bdPos: "left",
bdTop: 100
}, {
bdImg: 1,
bdPos: "left",
bdTop: 300
}],
image: [{
viewType: 'list',
viewPos: 'top',
viewColor: 'black',
viewSize: '16',
viewList: ['qzone', 'tsina', 'huaban', 'tqq', 'renren']
}],
selectShare: [{
"bdselectMiniList": ['qzone', 'tqq', 'kaixin001', 'bdxc', 'tqf'],
'bdContainerClass': 'bdselectshare' //设置为null,对整个页面有效
}]
}
with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion=' + ~(-new Date() / 36e5)];
</script>
</body>