W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2012

[whatwg] Fullscreen changes to support <dialog>

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 4 Apr 2012 21:39:50 -0700
Message-ID: <CAAWBYDB+=OrXeSGMuAeQO6qFxUCiqqWU0e3F=YkRnnjKvjE12Q@mail.gmail.com>
On Wed, Apr 4, 2012 at 9:33 PM, Sean Hogan <shogun70 at westnet.com.au> wrote:
> On 5/04/12 2:15 PM, Tab Atkins Jr. wrote:
>> Both of your examples would be done by using elements that are
>> children of the<dialog>, and perhaps just positioned explicitly
>> somewhere.
>
> That doesn't sound like a good solution, but maybe I'm misunderstanding.
>
> Look at my blog:
>
> http://meekostuff.net/blog/
>
> At the bottom is a simple site menu. If you click on the "contact" link it
> pops up a dialog with a backdrop that covers the whole page... except for
> the site menu. The dialog can be hidden by a "close" link in the dialog, OR
> by clicking the "contact" link again.

I'm not 100% certain, but I suspect this isn't doable with <dialog
modal>, because that's not a modal dialog. It's a normal dialog; you
just happen to be using a similar visual effect (darkening the rest of
the page) as what modal dialogs typically do, presumably so as to
focus attention on the dialog.

~TJ
Received on Wednesday, 4 April 2012 21:39:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT