[whatwg] Suggestion: Implementation of Tabbed Forms

martijnw martijnw at hotpop.com
Tue Jul 13 04:04:10 PDT 2004


Ian Hickson wrote:

>The example I originally had in mind when proposing the concept of
>mutually exclusive sections was that of a game which had three "screens",
>the first is a login page, the second is a game board view, and the third
>is a high scores view. The three are mutually exclusive.
>
>I've seen wizard interfaces where the views are mutually exclusive too.
>
>I agree that a tabbed interface is probably semantically just a group of
>fieldsets with a different presentation. I'm not sure how we should do
>tabs though. I really dislike making authors re-use existing elements with
>just different attributes, a la:
>
>   <fieldset role="tab">
>    <legend> ... </legend>
>    <p>...</p>
>   </fieldset>
>   <fieldset role="tab">
>    <legend> ... </legend>
>    <p>...</p>
>   </fieldset>
>
>...and I'm not sure it's purely presentational, to the point of just being
>a CSS rule:
>
>   fieldset { display: tab; }
>
>I'll think about this some more though.
>
>  
>
You probably know already this, but Daniel Glazman made some time ago a 
css tab demo:
http://daniel.glazman.free.fr/weblog/targetExample.html#general

Regards,
Martijn




More information about the whatwg mailing list