Several years ago I defined a form in J including the control
ocx:Shell.Explorer.2 in which I displayed J's help. Several advantages - I
got rid of lots of the garbage that the browser put in the form and put a
better title on the form, I was able to keep the links at the top of the
form and have them available without having to scroll to the top or bottom
to see them, and I wrote a script that looks at the html file with J before
it is displayed giving me the opportunity to gather information from it. I
could modify the html file if I wanted to before it is displayed but I never
went that far; however, I did make some html compatible extensions to run J
verbs from the html file. Never really used it though.

To me this makes help look more like part of J and not something outside of
J.

 ocx:Shell.Explorer.2 gives several events available to J which could make
it easier to do many of the things being discussed in this thread and a lot
more. We have a pretty powerful tool in J to enhance help. Why not use it?

On Tue, Jul 22, 2008 at 9:42 PM, Sherlock, Ric <[EMAIL PROTECTED]>
wrote:

> ---Sherlock, Ric wrote:
> >
> > ---Oleg Kobchenko wrote:
> > > I believe it is better to keep it simple and return to
> > > the original two tables:
> > >
> > > <table id="SymHead" width="100%"><tr>
> > >   <th id="MonadName" align="left"   width="33%">Example</th>
> > >   <th id="SymRank"   align="center" width="34%">^ 0 0 0</th>
> > >   <th id="DyadName"  align="right"  width="33%">Example</th>
> > > </table>
> > >
> > > <table id="SymDef" width="100%"><tr>
> > >   <td id="MonadDef" width="49%">Description of <tt>x</tt> ...</td>
> > >   <td id="Spacer"   width="1%">&nbsp;</td>
> > >   <td id="DyadDef"  width="50%">Description of <tt>y</tt> ...</td>
> > > </table>
> > >
> > > (Possibly widths and alignment placed in CSS).
> >
> > I agree the use of IDs to label the cells and CSS to format
> > them is preferable to the current markup, and I imagine it
> > would be easier to automate a move to this style of markup
> > than to the others proposed. However (as I've probably
> > already belaboured enough) I would prefer to see the HTML
> > markup represent the logical structure of the document
> > elements rather than confuse that structure by the use of
> > tables as a simple page layout mechanism without regard to
> > the logical structure. If the consensus is that that would
> > require too much effort, then so be it.
> >
>
> I would prefer this:
>
> <table id="PrmtvDef">
> <thead><tr>
>   <th colspan="2" class="SymbRank">^ 0 0 0</th>
> </tr><tr>
>   <th class="MonadName">Exponential</th>
>   <th class="DyadName">Power</th>
> </tr></thead>
>
> <tbody><tr>
>  <td class="MonadDef">Description of <tt>x</tt> ...</td>
>  <td class="DyadDef">Description of <tt>y</tt> ...</td>
> </tr></tbody>
> </table>
>  ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to