最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - What is the difference between a modal window and a dialogue window? - Stack Overflow

programmeradmin2浏览0评论

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 .

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 .

Share Improve this question asked Oct 18, 2012 at 7:29 user1755479user1755479
Add a comment  | 

3 Answers 3

Reset to default 13

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.

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.

A modal window will not let you continue until you close it.

There are two main categories of temporary windows in IxD: Modless and Modal

Modless: that dont require users to exit out to access the behind layers - like tooltip, select, popover (non-sticky), menu etc. These dont have the overlay and you can see all the behind layers as-is.

Modals: that require users to take an action before they can access the behind layers - like dialog (a,k,a alert dialog), slide-in-panel, bottom-sheet (new in mobile), popover (skicky). These are mostly required to have the overlay to afford that this is not letting you access the behind layer till you get rid of this.

Visually -- shadows should be reserved for these two in the UI

发布评论

评论列表(0)

  1. 暂无评论