js弹出窗体获得焦点
生活随笔
收集整理的這篇文章主要介紹了
js弹出窗体获得焦点
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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( );
}
轉載于:https://www.cnblogs.com/zhangtao/archive/2010/09/26/2347599.html
總結
以上是生活随笔為你收集整理的js弹出窗体获得焦点的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 豆浆过滤的豆渣能吃吗
- 下一篇: 贝壳找房如何退出账号