Hi Brian,

Here is a video example of what I had running for the J conference, if that is 
the functionality that you require. Most of the video explores shape demo, but 
at the end I run a video from youtube in the window and then go back to the 
standard jijx full window.

https://www.youtube.com/watch?v=bfJCl1NPyN0

The process within the .ijt file of the lab is to include 

PREPARE
load 'filepath and name' NB. this is done for each window in your multiple 
window
0!:0 < 'filepath and name'  NB. puts the required verbs such as create from the 
appropriate locales
create_mframe_ NB. In this case mframe is the locale of the multiple pane 
environment, must match cocurrent in the script so that the url can be 
http://127.0.0.1:65001/mframe
launch 'http://127.0.0.1:65001/mframe' NB. This launches a new window. Without 
this the mframe shows up inside the existing jijx window
PREPARE

I have been working on other stuff since the conference so I haven't pushed 
this further, but the side by side aspect is pretty cool when added to the text 
resources and interactive aspects of the labs.

Cheers, bob


On Sep 26, 2014, at 10:08 AM, Brian Schott <[email protected]> wrote:

> Bob,
> 
> Are you suggesting that a Lab which includes a graphic like the one in
> tgsjhs.ijs can be constructed? Are there any Labs you can suggest? I tried
> the Plot lab but the plots are embedded in the text, not in a stationary
> window/frame like in tgsjhs. Is there a Lab for vlite.ijs, for example?
> 
> I had not really thought about a Lab for tgsjhs. I could use some ideas on
> that.
> 
> On Fri, Sep 26, 2014 at 12:16 PM, robert therriault <[email protected]>
> wrote:
> 
>> Hi Brian,
>> 
>> Slightly different approach, but you can do things behind the scenes by
>> using the PREPARE keyword in a lab. You still need to get the learner to do
>> something to have the PREPARE'd statements execute, but it becomes less
>> visible if you were already using the lab as a learning scaffold and
>> executing specific instructions is just a matter of advancing the lab.
>> 
>> Cheers, bob
>> 
>> --
> (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