jQuery UI覆盖而没有对话框 [英] jQuery UI overlay without dialog

查看:115
本文介绍了jQuery UI覆盖而没有对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
jQuery UI:如何通过以下方式使用ui-widget-overlay本身?

Possible Duplicate:
jQuery UI: How to use ui-widget-overlay by itself?

我想避免用户在ajax调用期间更改屏幕.所以我在考虑使用jQuery UI覆盖(模态对话框的覆盖),但不包含任何对话框.我找不到任何办法.

I want to avoid the user to change the screen during ajax calls. So I was thinking to use jQuery UI overlay (the overlay of the modal dialogs) but without any dialog. I couldn't find any way to do this.

有没有办法显示没有对话框的模态?

推荐答案

我接受另一个SO问题的此答案.

I take this answer of another SO question.

这里有一个小提琴.

和代码:

$("body").append($.ui.dialog.overlay.create())

这篇关于jQuery UI覆盖而没有对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆