您的位置:首页 > 其它

分享-百度分享

2013-11-05 11:43 260 查看
图标式

<!-- Baidu Button BEGIN -->
<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
<span class="bds_more">分享到:</span>
<a class="bds_qzone"></a>
<a class="bds_tsina"></a>
<a class="bds_tqq"></a>
<a class="bds_renren"></a>
<a class="bds_t163"></a>
<a class="shareCount"></a>
</div>
<script type="text/javascript" id="bdshare_js" data="type=tools&uid=6856514" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
var bds_config = { 'bdText': '这里写入您想要自定义的分享内容', 'bdDesc': '目前支持自定义qq空间,开心网的摘要内容', 'bdPic': '这里填写您要分享的图片地址,比如 http://yourname.domain.com/images/test.jpg' };
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date() / 3600000);
</script>
<!-- Baidu Button END -->




 浮窗式

<!-- Baidu Button BEGIN  浮窗式 -->
<script type="text/javascript" id="bdshare_js" data="type=slide&img=0&pos=right&uid=6856514"></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
var bds_config = { 'bdText': '这里写入您想要自定义的分享内容', 'bdDesc': '目前支持自定义qq空间,开心网的摘要内容', 'bdPic': '这里填写您要分享的图片地址,比如 http://yourname.domain.com/images/test.jpg' };
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date() / 3600000);
</script>
<a class="shareCount"></a>
<!-- Baidu Button END  浮窗式 -->




图片分享

<!-- 将此代码放在适当的位置,建议在body结束前 -->
<script id="bdimgshare_shell"></script>
<script>
var bdShare_config_imgshare = {
"type": "list"
, "size": "small"
, "pos": "bottom"
, "color": "black"
, "list": ["qzone", "tsina", "tqq", "renren", "t163"]
, "uid": "6856514"
}; var bds_config = { 'bdText': '这里写入您想要自定义的分享内容' };
document.getElementById("bdimgshare_shell").src = "http://bdimg.share.baidu.com/static/js/imgshare_shell.js?cdnversion=" + Math.ceil(new Date() / 3600000);
</script>




更多内容:http://share.baidu.com/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  分享