function popupLink(link){
var popup = window.open(link,'Facebook Share','menubar=0,开发者_StackOverflowdirectories=0,toolbar=0,resizable=1,status=0,location=0,width=500,height=350');
if(!popup){
return true;
}else{
return false;
}
};
popupLink('http://www.facebook.com/sharer.php?u=http%3A%2F%2Fmsn.com%2F');
I just want to pop up a link...
Window names cannot include spaces in IE. Change 'Facebook Share'
to 'FacebookShare'
精彩评论