[Jmol-users] JSmol broken on Mac Safari back button

2014-01-30 Thread Jaime Prilusky
Is there a way to force loading JSmol when loading/rendering a page? JQuery should be able to do this. This is why we might need to start with a fresh loaded JSmol: When clicking a ‘back to previous page’ button on On Mac 10.9.1, Safari 7.0.1, JSmol renders non-operational. On Firefox 26.0,

Re: [Jmol-users] Where to put the translation file?

2014-01-30 Thread Angel Herráez
Hello Hiroshi the idioma folder must be at the same level than the java folder, that is, both must be children of a same folder. I do not think that there should be any difference between the Jmol/Java and the JSmol/Html5 options. Maybe you have a browser cache issue. Are you setting the

Re: [Jmol-users] JSmol broken on Mac Safari back button

2014-01-30 Thread Philip Bays
Two comments: I see the difference that you do except that the applet works fine in Safari when I come back to the page. That is, I do not see a broken applet, it is just not refreshed. (Mac OS 10.9.1) I thought that the Safari behavior was the normal for the back button. I hate it when I

Re: [Jmol-users] JSmol broken on Mac Safari back button

2014-01-30 Thread Rolf Huehne
On 01/30/2014 01:11 PM, Philip Bays wrote: Two comments: I thought that the Safari behavior was the normal for the back button. I hate it when I am reading and article, click a link to another page, and then when I come back to the original, the page reloads and I have to search for

Re: [Jmol-users] JSmol broken on Mac Safari back button

2014-01-30 Thread Otis Rothenberger
Jaim, I see what you're seeing with Safari. Just to add a data point to the discussion, when I use the location box to navigate to another site (e.g. Google.com), the back button does force a reload of JSmol on your page. When I try this same location box approach with:

Re: [Jmol-users] JSmol broken on Mac Safari back button

2014-01-30 Thread Jaime Prilusky
Thank you for the additional testing and suggestions. I tested now on Chrome Version 32.0.1700.102, same Mac, and it works great: no freezing. I had the idea that Safari and Chrome shared a lot of internal code, but it seems that their behaviour with objects is different. The freezing, of

Re: [Jmol-users] JSmol broken on Mac Safari back button

2014-01-30 Thread Otis Rothenberger
Jaim, I see the same thing you are seeing on Bob's page. But... Interesting point: I don't see any of this problem on my site - Safari, cross domain or within domain: http://chemagic.com/JSmolVMK2.htm After above load, location box = chemagic.com followed by back button reloads JSmol The

Re: [Jmol-users] script() function path question

2014-01-30 Thread Robert Hanson
the script() command does not do quite what you think it does. It expects a script command: x = script(show chemical name) x = script(show measurements) x = script(script '../scripts/script1.spt' ) It is true that simply named scripts like you have there work, but only because there is a