to be overly clear, you would access http://x.x.x.x/frames in this case
from the iPad

On Tue, Sep 23, 2014 at 3:09 PM, Joe Bogner <[email protected]> wrote:

> how about this:
>
> create a new file called frames.ijs (feel free to rename the file and the
> coclass)
> load ...
>
>
>
> coclass'frames'
> coinsert'jhs'
>
>
> HTML=: 0 : 0
> <html><head><title>Turtle Graphics</title></head>
>  <frameset cols="24%,*">
>   <frame src="http://127.0.0.1:65001/jijx";
>    name="ijx",
>    scrolling="auto">
>  <frameset rows="87%,*">
>   <frame src="http://127.0.0.1:65001/tgsj";
>    name="ijs",
>    scrolling="auto">
>   <frame src="http://127.0.0.1:65001/~Projects/tgsjhs/tgsjhshelp.html";
>    name="help",
>    scrolling="auto">
>  </frameset>
>  </frameset>
> </html>
> )
>
> create=: 3 : 0
> IP=:getexternalip_jhs_''
> htmlresponse ('127.0.0.1';IP) stringreplace HTML
> )
>
> worked on my PC
>
> note, I get the external ip address instead of using 127.0.0.1 in create
>
>
> On Tue, Sep 23, 2014 at 2:52 PM, Brian Schott <[email protected]>
> wrote:
>
>> Joe (to the rescue),
>>
>> Mostly the answer to (1.) is yes. All 3 independent URLs can be accessed,
>> if the "<...>" part is omitted in every case. Actually there is one small
>> hiccup in the /jijx window on the iPad in Safari, but not in Chrome: the
>> keyboard does not appear. I wonder about that hiccup, but believe it is a
>> minor problem.
>>
>> Regarding (2.), I cannot quite imagine how to emit the html code with JHS.
>> But, I can see the **blank** frames when I surf to the URL on the iPad.
>>
>> 192.168.1.5:65011 <http://192.168.1.5:65011/jijx>
>> /~Projects/tgsjhs/console.html
>> <http://127.0.0.1:65001/~Projects/tgsjhs/tgsjhshelp.html>
>>
>> On the other hand, I suppose it is adequate for the iPad user to just surf
>> to the separate URLs, and not needing the 3-frame system, because the main
>> one is /tgsj , anyway.
>>
>> So maybe I should *just* look further into the issue regarding /jijx on
>> Safari. Has anyone else had this experience (of /jijx not working on
>> Safari
>> on iPad)?
>>
>> On Tue, Sep 23, 2014 at 2:08 PM, Joe Bogner <[email protected]> wrote:
>>
>> > Hi Brian -
>> >
>> > I don't think you need to post to SO, we should be able to help you
>> here.
>> >
>> > I see two pieces to this:
>> >
>> > 1. Can the iPad access each of the URLs independently?
>> >      a. Enter http://192.168.1.5:65011/jijx <
>> http://192.168.1.5:65011/jijx
>> > >
>> >      b. Enter http://192.168.1.5:65011/t <http://192.168.1.5:65011/jijx
>> > >gsj
>> >      c. Enter http://192.168.1.5:65011/ <http://192.168.1.5:65011/jijx>
>> > ~Projects/tgsjhs/tgsjhshelp.html
>> > <http://127.0.0.1:65001/~Projects/tgsjhs/tgsjhshelp.html>
>> >
>> > 2. If the iPad browser can access each of those URLs, then it becomes a
>> > question of how to generate the frame HTML. I agree that storing it on
>> the
>> > device is not ideal. The right solution is to have JHS emit that HTML.
>> It
>> > should be along the lines of the HTML you are already emitting. Instead
>> of
>> > hard coding the IP address, you'll probably want to dynamically
>> determine
>> > it
>> >
>> >
>> > If you've already tried these things, I or someone else can provide some
>> > sample JHS code to output that html. Let us know
>> >
>> > Thanks
>> > Joe
>> >
>> >
>> > --
>> (B=)
>> ----------------------------------------------------------------------
>> 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