我只是尝试在 Chome 中创建弹出窗口,但它的父窗口在弹出窗口仍然打开时被激活。我的代码是打击
<script language="javascript" type="text/javascript">
function showModalWindow() {
window.showModalDialog('URL, "Sample.jpg", "resizable: yes");
}
</script>
how to make this code browser specific.