<div class="page-share clear">
<span><a class="keep" href="javascript:void(0);" οnclick="addFavorite(location.href, document.title);">收藏</a> | 分享到:</span>
<span>
<a rel="nofollow" href="javascript:window.open('http://share.renren.com/share/buttonshare.do?link='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title));void(0)" title="分享到人人网" class="renren">分享到人人网</a>
<a rel="nofollow" href="javascript:window.open('http://www.kaixin001.com/repaste/share.php?rtitle='+encodeURIComponent(document.title)+'&rurl='+encodeURIComponent(document.location.href)+'&rcontent=');void(0)" title="分享到开心网" class="kaixin" >分享到开心网</a>
<a rel="nofollow" href="javascript:window.open('http://v.t.sina.com.cn/share/share.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href)+'&source=dict.cn','_blank','width=615,height=505');void(0)" title="分享到新浪微博" class="sina">分享到新浪微博</a>
<a rel="nofollow" href="javascript:window.open('http://t.163.com/article/user/checkLogin.do?link=http://news.163.com/&source=dict.cn&info='+encodeURIComponent(document.title)+' '+encodeURIComponent(location.href),'_blank','width=510,height=300');void(0)" class="wangyi" >分享到网易</a>
<a rel="nofollow" href="javascript:window.open('http://t.qq.com/?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href)+'&source=dict.cn','_blank','width=615,height=505');void(0)" title="分享到新浪微博" class="tx" >腾讯微博</a>
</span>
</div>
转载于:https://www.cnblogs.com/glelaine/archive/2012/10/18/share.html