gpt4 book ai didi

jquery - 新窗口无法在 IE 中调整大小

转载 作者:行者123 更新时间:2023-12-01 06:45:05 25 4
gpt4 key购买 nike

当我单击链接时,将打开新的窗口。但我无法在 IE调整大小(也最大化)浏览器窗口

但如果浏览器是chromefirefox<,我可以调整大小最大化窗口/strong>等等

我的代码是:

$("#linkId").click(function(){
//window.open('../blocks/eparticipation/view.php?cId='+courseId, 'chatWindow', 'location=1,status=1,scrollbars=1, width=1000,height=500');
window.open('../blocks/eparticipation/eparticipation_home.php?cId='+courseId, 'chatWindow', 'location=1,status=1,scrollbars=1, width=1000,height=500');
return false;
});

最佳答案

尝试添加

resizable=yes

到参数。这是 IE 的特殊属性。

关于jquery - 新窗口无法在 IE 中调整大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32759387/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com