zhangtao

js弹出窗体获得焦点

2010-09-26 22:00  观海看云  阅读(1257)  评论(0编辑  收藏  举报

function openwindow( )
{
  window.status="系统当前状态:您正在注册用户......";
  if (window.screen.width == 1024 && window.screen.height == 768)
    window.showModalDialog("register.html", "注册窗口", "toolbars=0, location=0, statusbars=0, menubars=0,width=700,height=550,scrollbars=1");
  else
    window.alert("请设置分辨率为1024x768,然后再打开");

}
function closewindow( )
{
  if(window.confirm("您确认要退出系统吗?"))
    window.close( );
}

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
相关资源
相似解决方案