var blocked = false;
try {
var wroxWin = window.open("http://www.wrox.com","_blank");
if(wroxWin == null){
blocked = true;
}
}catch(ex){
block = true;
}
if(blocked){
alert("The popup was blocked!");
}
訂閱:
張貼留言 (Atom)
分享 Linux/Apache/PHP+MySQL/Smarty/JQuery/RubyOnRails 的點點滴滴!
沒有留言:
張貼留言