js简单实现自定义地址微博微信分享

浏览1704
        Travel.title分享标题,Travel.href分享链接地址
        $(".travel #share_sina").click(function(){

		window.open("http://service.weibo.com/share/share.php?title="+Travel.title+"&url="+Travel.href);

	});

	$(".travel #share_wx").click(function(){

		$(".travel_qrcode").show();

	});

	$(".travel #share_rr").click(function(){

		window.open("http://widget.renren.com/dialog/share?title="+Travel.title+"&resourceUrl="+Travel.href);

	});
 

	$(".travel #share_tQQ").click(function(){

		window.open("http://share.v.t.qq.com/index.php?c=share&a=index&title=&title="+Travel.title+"&url="+Travel.href);

	});	

  • 暂无任何回答