Javascript window.open está bloqueado por el bloqueador de ventanas emergentes de IE

¿Puede alguien ayudarme? Tengo una ventana emergente que está siendo bloqueada. Es una ventana emergente que se crea porque alguien ha hecho clic en Imprimir imagen en mi sitio.

Pensé que se suponía que IE no debía bloquearlos cuando apareció la ventana emergente a través de unonclick?

¿Alguien puede ayudar? Loschild1 variable siempre se devuelve comoNULL si el bloqueador de ventanas emergentes está habilitado ...

al vez el problema es que elonclick event luego pasa el control a una nueva función que carga un archivo html y hacechild.document.write

Aquí está mi código simple ...

var width = 800;
var height = 600;
var left = parseInt((screen.availWidth / 2) - (width / 2));
var top = parseInt((screen.availHeight / 2) - (height / 2));
var windowFeatures = "width=" + width + ",height=" + height 
   + ",menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,left=" 
   + left + ",top=" + top + "screenX=" + left + ",screenY=" + top;      

child1 = window.open("about:blank", "subWind", windowFeatures);

Respuestas a la pregunta(12)

Su respuesta a la pregunta