如何制作一个可读写的弹出窗口?

时间:2013-02-21 18:13:55

标签: javascript html5

我可以创建一个弹出窗口,但是如何让它接受击键。我似乎以只读模式打开......这是我使用的代码

window.open('http://fous.com/testfile.html','popup','width=800,height=1000,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0');

1 个答案:

答案 0 :(得分:0)

选项组合似乎在使用时锁定窗口:

window.open('http://fous.com/testfile.html', 'popup','width=800,height=1000,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0');

这似乎给出了可取的结果。

myWindow=window.open('http://fous.com/testfile.html','','width=800,height=1000', top=0,left=0,scrollbars=0)