- From: Sandro Hawke <sandro@w3.org>
- Date: Sat, 28 Feb 2009 15:37:57 -0500
- To: "Peter F. Patel-Schneider" <pfps@research.bell-labs.com>
- cc: public-owl-wg@w3.org
> Quite nice.
>
> Quibble 1: With javascript turned off, I see all syntaxes (and the
> control panel stuff).
What is displayed with javascript turned off is customizable -- whatever
display settings you put in the HTML will (of course) not be affect by
the (not-running) javascript. Author should probable put
style="display:none;" on all syntaxes but the first, for this case.
What control panel stuff do you see? The control panels are generated
by the javascript. Can you send me a screen shot?
> 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.
By "floated" you mean put in a pop-up window, or displayed with css
"float"? The latter would move text, too. We have to either (1)
reserve screen space, (2) cover text, or (3) move some text down. A
version of (2) with a moveable pop-up would be okay -- I'm not sure how
to do it without running afoul of pop-up blockers, though.
- s
> 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:38:05 UTC