显然,此调用window.open
在 Internet Explorer 下无效。我网站上的 Javascript 代码没有运行,我认为这是由于该错误。
它告诉我错误所在的行是对 window.open 的调用,显然那里的参数无效。
$('.objeto').click(
function() {
var center = 'height=380,width=900,top='+((screen.width - 900)/2)+',left='+((screen.height - 380)/2);
var address = $(this).attr('id');
window.open (address,'Ver articulo', config=center);
}
);
该网站在 Google Chrome 和 Firefox 下运行良好。