Re: multiple-syntax-examples

Quite nice.

Quibble 1: With javascript turned off, I see all syntaxes (and the
control panel stuff).

Quibble 2: Displaying the control panels move the text up and down.  I
wonder if they could be floating when displayed, so that text wouldn't
jump around so much.

peter
 



From: Sandro Hawke <sandro@w3.org>
Subject: multiple-syntax-examples
Date: Fri, 27 Feb 2009 14:49:56 -0500

> 
> I saw everyone roll their eyes when the floating syntax controller was
> mentioned, and I don't like it either, so I went ahead and implemented
> something that I think is better.  (I think it's the design Peter and
> Bijan and I hashed out long ago, but no one felt like implementing.  A
> key design point is that it never makes the text jump, because the
> check-box is always above the text being shown/hidden.)
> 
> See this example:
> 
>     http://www.w3.org/2009/02/multisyntax-support/example-1.html
> 
> It is now reasonably well-engineered.  The shared javascript is in an
> imported file; the configuration details are in the document, etc.
> 
> I believe it makes the examples well-enough structured that automated
> translation could be used, easily enough, probably to fill in any
> (example,syntax) combinations that were not yet filled in.
> 
> (I didn't actually change any of the wiki pages, yet.)
> 
>       -- Sandro
> 
> 
> 

Received on Saturday, 28 February 2009 20:16:45 UTC