W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2005

[whatwg] Menus, fallback, and backwards compatibility: ideas wanted

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Wed, 07 Dec 2005 14:33:59 +1100
Message-ID: <43965827.7040406@lachy.id.au>
Ian Hickson wrote:
> On Sat, 3 Dec 2005, Lachlan Hunt wrote:
>> Earlier, Ian Hickson wrote:
>>> 1. Providing a menu bar for the entire window (or application, on Mac)...
>> I just had a thought that maybe this could be marked up by including the
>> <menu> within the <head> element...
>> However, this would only be possible in XHTML documents.
> Yeah, in HTML it would force the <body> to open. An option for XHTML, 
> indeed.

It could still be done in HTML by modifying the DOM to move it from the 
body to the head using a script.  UAs without script would just get a 
regular menu within the page, which isn't bad fallback.

Lachlan Hunt
Received on Tuesday, 6 December 2005 19:33:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:44 UTC