你的位置:首页 > Java教程

[Java教程]可多选代码功能,支持不同分享需求


一、代码

<div ><a href="#" data-cmd="more"></a><a title="分享到QQ空间" href="#" data-cmd="qzone"></a><a title="分享到新浪微博" href="#" data-cmd="tsina"></a><a title="分享到腾讯微博" href="#" data-cmd="tqq"></a><a title="分享到人人网" href="#" data-cmd="renren"></a><a title="分享到微信" href="#" data-cmd="weixin"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdPic":"","bdStyle":"0","bdSize":"16"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到:","viewSize":"16"}};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>

二、效果

三、来源

http://share.baidu.com/code