Send this to a friend
1 var win = window.open(...);
2 if(win == null || typeof(win) == "undefined" || (win == null && win.outerWidth == 0) || (win != null && win.outerHeight == 0) || win.test == "undefined") {
3
4 }
var win = window.open(...);
if(win == null || typeof(win) == "undefined" || (win == null && win.outerWidth == 0) || (win != null && win.outerHeight == 0) || win.test == "undefined") {
}
Send this to a friend
http://www.quirksmode.org/js/popup.html
1 function popup(url) {
2 newWindow = window.open(url, 'name', 'height=400,width=335,scrollbars=yes');
3 if (window.focus) { newWindow.focus() }
4 return false;
5 }
6
7
function popup(url) {
newWindow = window.open(url, 'name', 'height=400,width=335,scrollbars=yes');
if (window.focus) { newWindow.focus() }
return false;
}