右边橙色的百度分享代码
<!– 百度分享 –>
<script type=”text/javascript” id=”bdshare_js” data=”type=slide&img=0&uid=626947″ ></script>
<script type=”text/javascript” id=”bdshell_js”></script>
<script type=”text/javascript”>
document.getElementById(“bdshell_js”).src = “http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=” + new Date().getHours();
</script>
<!– 百度分享结束 –>
左边绿色的百度分享代码
<!– 百度分享 –>
<script type=”text/javascript” id=”bdshare_js” data=”type=slide&img=1&pos=left&uid=594195″ ></script>
<script type=”text/javascript” id=”bdshell_js”></script>
<script type=”text/javascript”>
var bds_config = {“bdTop”:135};
document.getElementById(“bdshell_js”).src = “http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=” + new Date().getHours();
</script>
<!– 百度分享结束 –>
左边蓝色百度分享代码
<!– Baidu Button BEGIN –>
<script type=”text/javascript” id=”bdshare_js” data=”type=slide&img=6&pos=left” ></script>
<script type=”text/javascript” id=”bdshell_js”></script>
<script type=”text/javascript”>
document.getElementById(“bdshell_js”).src = “http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=” + new Date().getHours();
</script>
<!– Baidu Button END –>
———————————–
©著作权归作者所有:来自51CTO博客作者御龙书生的原创作品,请联系作者获取转载授权,否则将追究法律责任
分享几个百度分享的样式代码(粘贴即用)
https://blog.51cto.com/baido/1221254