<div align="right">
<table border="0" cellspacing="3" cellpadding="0" width="150px" style="width:150px;">
<tbody><tr>
<td><a href="javascript:void((function(s,d,e,r,l,p,t,z,c){var f='http://t.sohu.com/third/post.jsp?',u=z||d.location,p=['&url=',e(u),'&title=',e(t||d.title),'&content=',c||'gb2312','&pic=',e(p||'')].join('');function%20a(){if(!window.open([f,p].join(''),'mb'))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent,'','','','','','utf-8'));" title="分享到搜狐微博"><img height="17px" width="17px" src="images/default/share1.gif"></a></td>
<td><a href="javascript:void(0)" onclick="jumpUrl('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?')" title="分享给QQ好友"><img height="17px" width="17px" src="images/default/share3.gif"></a></td>
<td><a href="javascript:void(0)" onclick="jumpUrl('http://share.renren.com/share/buttonshare?')" title="分享到人人网"><img height="17px" width="17px" src="images/default/share4.gif"></a></td>
<td><a href="javascript:void(0)" onclick="jumpUrl('http://www.douban.com/recommend/?')" title="分享到豆瓣"><img height="17px" width="17px" src="images/default/share5.gif"></a></td>
<td><a href="javascript:void(0)" onclick="jumpUrl('http://tieba.baidu.com/i/sys/share?')" title="分享到i贴吧"><img height="17px" width="17px" src="images/default/share6.gif"></a></td>
<td><a href="javascript:void(0)" onclick="jumpUrl('http://go.139.com/ishare.do?')" title="免费分享到手机"><img height="17px" width="17px" src="images/default/share7.gif"></a></td><td><a href="javascript:void(0)" onclick="jumpUrl('http://service.t.sina.com.cn/share/share.php?')" title="分享到微博"><img height="17px" width="17px" src="http://i2.itc.cn/20110426/7c2_ebf9c59b_8cdf_a522_dc23_de88bf468536_1.gif"></a></td>
</tr>
</tbody></table>
</div></div>
<script type="text/javascript">
function jumpUrl(url){
/*var pic='http://zone.it.sohu.com/forums/images/index2011/logo.gif';
var _t = encodeURIComponent(document.title);//页面标题
var _url = encodeURIComponent(document.location.href);//页面URL
var _pic = encodeURI(pic?pic:'');//图片地址
var _site = 'zone.it.sohu.com';//你的网站地址
var _u = url+'title='+_t+'&link='+_url+'&site='+_site+'&pic='+_pic;*/
var _u = url+'url='+encodeURIComponent(document.location.href)+'&link='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title);
window.open(_u);
}
</script>
转载于:https://my.oschina.net/hosir/blog/129207