Hi Robert,

by looking at jh_z_

jh_z_=: 3 : 0
('<html><head></head><body>',y,'</body></html>') fwrite '~user/webview.html'
smoutput '<ioscmd>pl '
i.0 0
)

which is defined in the J app as a way to wrap its argument in an HTML 
template. You can see that what you want to display is written into a file 
called webview which is then displayed in the html window. I haven't looked 
into the socket aspect yet, but it may be notable that Eric has chosen to use 
the "write to file/display file" paradigm.

Cheers, bob

On 2012-05-16, at 11:01 AM, Robert Cyr wrote:

> It would be nice to have the entire screen available to a web page.
> 
> That way, a bit of JavaScript would allow a fancy front end with
> pretty graphics such as sliders , powerful graphs etc.  For a J
> person, a very useful and powerful calculating machine would of course
> lurk in the back-ground.
> 
> I have not wet quite figured out how to communicate with my web page.
> Could this be why a socket script is included with the iPad J ( at
> 'j/system/main/socket.ijs') ?
> 
> 
> Sent from my iPad
> 
> On 2012-05-16, at 00:46, David Leibs <[email protected]> wrote:
> 
>> I think it might be nice if there was a way to grab the bottom of the
>> html view and drag it downward in order to make it bigger.
>> 
>> -David Leibs
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> 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