W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

[whatwg] Function "Active Menu"

From: André Luís <andreluis.pt@gmail.com>
Date: Sat, 7 May 2011 15:26:30 +0100
Message-ID: <78BF6322-49F6-44BB-BEEC-DA3BEC930C6E@gmail.com>
Recognizing that the href is the same as the current uri.

I agree it woud be nice, but I see this as a proposal for the css wg. This has pseudo-class written all over this.

:current or something.

Nowadays we solve this with a .current or .active class name.

Not exactly life-changing, but useful nonetheless.
Andr? Lu?s

On May 7, 2011, at 3:12 PM, Benjamin Hawkes-Lewis <bhawkeslewis at googlemail.com> wrote:

> 2011/5/7 Jos? Lucas Teixeira de Oliveira <jose.lucas.tdo at gmail.com>:
>> I think there should be a way to bind a link tag "<nav>" with a "<article>"
>> specific, creating a function of "active menu" automatically in HTML5. What
>> is your opinion?
> I don't understand what problem you're trying to solve, or what user agent
> behavior you are proposing.
> --
> Benjamin Hawkes-Lewis
Received on Saturday, 7 May 2011 07:26:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:05 UTC