在safari5下button用showModalDialog函数打开一个模态窗口,如
<input type="button" value="open" onclick="showModalDialog('file:///F:/Noname2.html', window, 'dialogWidth: 300px;dialogHeight:400px;help:no;scroll:auto;status:no;');" />但新打开的模态窗口并没有自动获得焦点,焦点依然在前一个窗口上,此时必须用鼠标点一下打开的窗口或原来的窗口,这个模态窗口才会获得焦点,但是不能点击这个button,如果点这个button的话会继续弹出一个模态窗口(感觉已经是非模态的了),何解?