开发者

Disable IE menu while displaying a custom dialog

开发者 https://www.devze.com 2022-12-12 02:47 出处:网络
Is there a way to disable IE\'s UI (e.g. the File Menu) when showing a custom dialog/window? What I\'m after is similar to what happens when you alert() something: the browser UI cannot be interacted

Is there a way to disable IE's UI (e.g. the File Menu) when showing a custom dialog/window? What I'm after is similar to what happens when you alert() something: the browser UI cannot be interacted with behind the开发者_JS百科 alert box.


What you want is called a dialog, and JQuery has a good one.


Unfortunately what you want isn't going to be possible. alert and confirm both (1) pause the currently executing javascript and (2) act as modal dialogs for the browser. There is no other way to simulate this behavior.

0

精彩评论

暂无评论...
验证码 换一张
取 消