网易微博的分享按钮的代码

<a href="javascript:(function(){window.open('http://t.163.com/article/user/checkLogin.do?link=http://news.163.com/&source='+'土豆网'+ '&info='+encodeURIComponent(document.title)+' '+encodeURIComponent(location.href),'_blank','width=510,height=300');})()" title="分享到网易微博"><img src="http://filer.blogbus.com/1054487/resource_10544871274700952v.png"  alt="网易微博分享" border="0"></a>
 

你可能感兴趣的:(JavaScript,html)