I'm using some javascript to open a pop-up window. Since file uploads have to be handled with form post (rather than jQuery, javascript post), I need a separate php doc w/html form. This is why I chose a pop-up.
The javascript is as follows:
Code: Select all
// Handle pop-up for attaching files.
if (var_attachFiles == true)
{
// Popup settings to center window:
// http://www.quackit.com/javascript/popup_windows.cfm
var_w=800;
var_h=600;
var_url="../site/files_popup.php";
var_title="topic_attch";
var_left = screen.width/4; // 400;
var_top = screen.height/6; // 150;
var_settings ='height='+var_h+',width='+var_w+',top='+var_top+',left='+var_left+',scrollbars=no,resizable';
popupWindow = window.open(var_url,var_title,var_settings);
popupWindow.focus;
}Is there any way to by-pass IE's blocks on pop-ups. If not, I'll figure out how to display some kind of warning for the user. But... first I'd like to know if it's possible to get around IE's blocks?
Thanks Much:
Pavilion