Eric

Also on line 373 of jfile.ijs
function ev_files_dblclick(){
window.open('jijs?mid=open&path='+jform.path.value,'_blank');}

This does not use the indirection of TARGET_jhs_ but is hardwired?

Anyway here a file will open in a new window too, breaking the frame
based paradigm i am trying to work under. Frames have long been
problematic in html.

greg
~krsnadas.org

--

from:    greg heil <[email protected]>
to:      [email protected]
date:    29 January 2013 11:33
subject:         Re: [Jprogramming] JHS update available

Eric

my vision and memory is a bit poor, so i have 9 screens that surround
me:) So it is not space, but organization that i am most concerned
with. i do like having everything - cause and effect - visible.
Clicking on links within frames keeps within the frame, and changing
TARGET_jhs_, as you suggest keeps J links within their present frame.
i can and do create a new tab whenever it is useful.

Silent behaviour (and/or its lack) is difficult for me. Eg the save &
save as commands silently fail if the target is incorrect. Many
editors have something to indicate the changed, but unsaved, file
status. Sweeping across these indicators clean is a great way to wrap
up.

greg
~krsnadas.org

--

from: Eric Iverson <[email protected]>
to: [email protected]
date: 29 January 2013 07:53
subject: Re: [Jprogramming] JHS update available

Greg,

You can get the old behavior back by setting TARGET_jhs_ to ''. If you
do this in the session, you will have to refresh to get the new
behavior on that page. If this is what you want you should do it in a
startup script.

I'm a little surprised you like the frame layout that would prefer not
getting new pages, I find the flexibility of multiple tabs and
multiple windows to be more convenient. It works well with limited
screen real estate (multiple tabs) or lots of space with multiple
windows. Dragging tabs to change tab order and create/merge/shuffle
windows works well.

--

from: Linda Alvord <[email protected]>
to: [email protected]
date: 29 January 2013 01:51
subject: Re: [Jprogramming] JHS update available

I found this annoying but thought it was a "feature" that was invented
by "Chrome". I still miss the green divisions which showed which
version of a script had been run and separated all the stuff that
builds up in jijx.

Some things you get used to that later disappear are why so many
things that worked years ago can't seemed to be rescued. I guess that
so many more things can now be done that we should move on anyway....

So much of the new stuff is really great!

Linda

--

from: greg heil <[email protected]>
to: [email protected]
date: 28 January 2013 20:22
subject: Re: [Jprogramming] JHS update available

Eric

Is there any way to get the old behavior back?

i am running a multipane system similar to demo9 (and demo9 exhibits
the same predilection). When i use the link menu it opens a new tab
rather than staying within the frame. This breaks the frame structure.
Those frames are named, not _blank

greg
~krsnadas.org

--

from: Edward Mokurai Cherlin <[email protected]> via forums.jsoftware.com
to: Programming forum <[email protected]>
date: 22 January 2013 14:55
subject: Re: [Jprogramming] JHS update available

--

On Mon, January 21, 2013 7:51 pm, Tom Arneson wrote:
Terrific!

Yes, just what I was wishing for in order to write interactive math
textbooks using J. Has anybody documented how to embed J in HTML5
documents?

My next wish is to get J packaged for Fedora and Debian Linux, and
then wrapped for use within Sugar education software. Is anybody here
working on packaging?

---
Edward Mokurai (??/??????????/???????) Cherlin
Silent Thunder is my name, and Children are my nation.
The Cosmos is my dwelling place, the Truth my destination.
http://wiki.sugarlabs.org/go/Replacing_Textbooks

--

From: Eric Iverson
<[email protected]>
Sent: Monday, January 21, 2013 16:21
To: Programming forum
Subject: [Jprogramming] JHS update available

A significant update is available for JHS.

JHS was first released before HTML5 was generally available.

JHS now has DOCTYPE for HTML5. Previously it had DOCTYPE for HTML4
transitional. This probably has no effect for modern browsers, may
break some old browsers, but is the right choice for the future and
possibly avoids browser compatibility bugs.

Before HTML5, the use of target="_blank" in either HTML or JAVASCRIPT
to open a page in a new tab was strongly deprecated and JHS conformed
to this unfortunate advice. This meant that to open a link, such as an
ijs editor, in a new page you had to click the link while holding down
ctrl+shift.

HTML5 dedeprecates (?) _blank and with ubiquitous tab support is used
in JHS to provide a more desktop application like experience. New tabs
are opened as 'expected' and it is easy to adjust your tabs and to
drag a tab away from the browser frame to create new windows as
desired.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to