开发者

How to make entire screen blackish when jquery ui popup is visible?

How t开发者_如何学编程o make entire screen blackish when jquery ui popup is visible?


So you basically want a modal dialog?

Then you can just set modal to true if you're using the jQuery dialog.

$(".selector").dialog({ modal: true });


In the CSS file that came with your jQuery UI download, look for the .ui-widget-overlay selector. Try something like:

.ui-widget-overlay {
background-color: #333;
opacity:0.5;
filter:Alpha(Opacity=50);
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜