社群分享
//社群分享
function SocialShare(type) {
var url = encodeURIComponent('<%= Request.Url.AbsoluteUri %>');
//alert(url);
if (type == "facebook") {
window.open("http://www.facebook.com/sharer.php?u=" + url + "&t=" + (new Date()).getTime(), "", "width=600,height=300");
}
else if (type == "google") {
window.open("https://plus.google.com/share?url=" + url + "&t=" + (new Date()).getTime(), "", "width=600,height=300");
}
else if (type == "plurk") {
window.open("http://plurk.com/?qualifier=shares&status=" + url + "&t=" + (new Date()).getTime(), "", "width=600,height=300");
}
else if (type == "yahoo") {
window.open("http://v.t.sina.com.cn/share/share.php?url=" + url + "&t=" + (new Date()).getTime(), "", "width=600,height=300");
}
else if (type == "twitter") {
window.open("http://twitter.com/home/?status=" + encodeURIComponent(document.title) + " " + url, "", "width=600,height=300");
}
}