I think you'd be further ahead starting with ijxh as your base to tune for the iPad. With luck there would be very few parameters you need to fiddle with. Mostly rows and columns.
There is considerable javascript to cope with contenteditable divs in jijx. As the contenteditable div isn't supported on the iFamily you need to use textarea and text. Having a text for input and textarea for a log is an enormous simplification in the required javascript. Trying to merge them has drawbacks and few real benefits. On Wed, Dec 15, 2010 at 2:57 PM, Charles Turner <[email protected]>wrote: > Hi- > > I've started to fiddle with the jijx layout to get something a bit more > tailored to the iPad. I started by modifying jijx instead of the iPhone > jijxh. > > I'm wondering why a <div id="log"> and <input type="text" id="jdo" > name="jdo" class="jhtext"> was substituted for a <div contenteditable=true>? > > Is there some reason a <textarea> can't be both input and log? > > My first modification to jijx.ijs was to substitute a jhtextarea for the > jhec. So the text area looks like this in the HTML: > > > <textarea id="log" name="log" class="jhtextarea" wrap="off" rows="40" > cols="80" onkeydown="return jev(event)" autocomplete="off" > autocapitalize="off" spellcheck="false" > > > <!-- j html output a --> > > <div> > > <font style="font-size:20px; color:red;" >J Http Server</font> > > </div> > > <!-- j html output z --> > > </textarea> > > Right now I'm getting a Javascript error saying "ev_log_enter failed. > Result of expression 'jdwn[j]' [undefined] is not an object." > > I'm sure folks here have better things to do than troubleshoot this. But if > anything jumps out, I'd be grateful to hear from you. I plunge ahead in any > case, and see what I can learn. > > Thanks! > > Charles > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
