开发者

Dialog display in Dojo

开发者 https://www.devze.com 2023-03-31 12:19 出处:网络
How to unblock the screen when a dialog being displayed? Usually when a dialog appears underlay(screen) is blocked and gets grey coloured. But i need to provide access to underlay even a开发者_StackO

How to unblock the screen when a dialog being displayed?

Usually when a dialog appears underlay(screen) is blocked and gets grey coloured. But i need to provide access to underlay even a开发者_StackOverflow社区 dialog appears. How to do it?


I think the easiest way to do that is to hide the underlay using css. Dojo will always give the underlay the same id as the dialog followed by _underlay. So if your dialog has the id myDialog then just add the following css somewhere:

#myDialog_underlay {
    display: none;
}

More info can be found at http://docs.dojocampus.org/dijit/Dialog

0

精彩评论

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