分享到新浪微博
function shareToXl(title,url,picurl){
var sharesina=
'http://v.t.sina.com.cn/share/share.php?title="+title+"&url="+url;
var top = (window.outerHeight-505)/2;
var left = (window.outerWidth-615)/2;
window.open( sharesina,'_blank','width=615,height=505,top='+top+',left='+left);
var left = (window.outerWidth-615)/2;
window.open( sharesina,'_blank','width=615,height=505,top='+top+',left='+left);
}
分享到QQ http://connect.qq.com/widget/shareqq/index.html
分享到QQ空间
http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey
分享到微信
http://s.jiathis.com/qrcode.php?url=链接
分享到腾讯微博
http://v.t.qq.com/share/share.php
上面地址好像用不了 http://share.v.t.qq.com/index.php(没测)
注意本地测试时url不能直接传入location.href