模态窗口和对话窗口有什么区别? [英] What is the difference between a modal window and a dialogue window?

查看:99
本文介绍了模态窗口和对话窗口有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题完全描述了我想知道的内容。模态窗口和对话之间有什么区别。当模态窗口成为对话时,反之亦然?我如何实现两者?非常感谢正确方向的推动。

The question describes exactly what i want to know . What is the difference between a modal window and a dialogue. When a modal window becomes a dialogue and vice versa ? How do i go about achieving both ? A nudge in the right direction will be very much appreciated .

推荐答案

模态窗口是在应用程序之上运行的窗口在你关闭模态窗口之前,你不能对应用程序做任何事情。

A modal window is a windows that runs on top of an application, so that you can't do anything at all with the applciation until you have closed the modal window.

jQuery对话框不是一个单独的窗口,所以从技术上来说它可以不是一个模态窗口。然而,它可以通过在页面的其余部分放置覆盖元素来模拟模态窗口的大部分功能,以便您无法与其进行交互。

A jQuery dialog is not a separate window, so technically it can't be a modal window. It can however emulate most of what a modal window does, by putting an overlay element over the rest of the page so that you can't interact with it.

这篇关于模态窗口和对话窗口有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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