multiple-syntax-examples

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 Friday, 27 February 2009 19:50:05 UTC