[whatwg] Menus, fallback, and backwards compatibility: ideas wanted
Lachlan Hunt
lachlan.hunt at lachy.id.au
Tue Dec 6 19:33:59 PST 2005
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
http://lachy.id.au/
More information about the whatwg
mailing list