On Sun, Oct 24, 2010 at 5:38 PM, greg heil <[email protected]> wrote:
> i set up a htm page consisting of an ijx, ijs and help frame from the JUM:
>
> <html><head><title>xsh</title></head>
> <frameset cols="44%,*">
> <frame src="http://www.jsoftware.com:53692/jijx" name="ijx",
> scrolling='auto'>
> <frameset rows="77%,*">
> <frame src="http://www.jsoftware.com:53692/jijs" name="ijs",
> scrolling='auto'>
> <frame src="http://www.jsoftware.com:53692/jhelp" name="jhelp",
> scrolling='auto'>
> </frameset>
> </frameset>
> </html>
>
> The next step is to set the IJS file to be a particular file (o/w the
> system keeps generating a new one). But i cannot find a URL for such a
> file. I can modify any file, but i cannot get the URL for that
> modification...
Hmm...
I have not been using jhs recently, but one additional possibility is
that you can name a frame -- <frame name="examplename" ... -- and then
use that name as the second argument to window.open --
window.open('url', 'examplename'). Or you can use that frame as the
target of an anchor -- <a target="examplename" href="url".
This does not solve the problem you are trying to solve (getting the
url of an ijs ahead of time) but maybe you can open an ijs window and
copy the url out of it?
In other words, perhaps something like this:
<frame name="ijstarget" ...
And then open the ijs window, copy its url and visit:
javascript:window.open('URLGOESHERE', 'ijstarget')
(replacing URLGOESHERE with the url you copied).
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm