百度分享share.js插件

//百度分享
window._bd_share_config = {
common : {
bdText : '分享标题',
bdDesc : '分享描述',
bdUrl : '分享链接',
bdPic : '分享图片'

},
share : [{
"bdSize" : 22
}],
image : [{
viewType : 'list',
viewPos : 'top',
viewColor : 'black',
viewSize : '22',
viewList : ['qzone','tsina','huaban','tqq','renren']
}],
selectShare : [{
"bdselectMiniList" : ['qzone','tqq','kaixin001','bdxc','tqf']
}]
}
//分享按钮组织点击
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)];
 
posted @ 2016-12-26 17:33  泥娃拉拉  阅读(8949)  评论(3编辑  收藏  举报